Using a gradient start-point or end-point in SwiftUI, we can easily replicate the iOS shimmer animation/effect (Slide to power off). This video shows you how to do that.
Learn to design, animate and build interactive prototypes using SwiftUI from my 3 Udemy SwiftUI courses.
1. SwiftUI, Animation Foundations: Fundamentals: https://www.udemy.com/course/swiftui-...
2. SwiftUI, UI Design Foundations: Fundamentals: https://www.udemy.com/course/swiftui-...
3. SwiftUI, Gestural & Microinteraction Foundations: The Basics
https://www.udemy.com/course/draft/40...