Created
January 24, 2021 05:05
-
-
Save sturdysturge/9893a20195236ced02706318cf174e2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct InvertedDirectionProgressViewStyle: ProgressViewStyle { | |
func makeBody(configuration: Configuration) -> some View { | |
GeometryReader { geometry in | |
ProgressView(configuration) | |
.frame(height: geometry.size.height) | |
.rotation3DEffect(.degrees(180), axis: (x: 0, y: 0, z: 1)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment