Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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