The new foreground style modifier available in Xcode 13 can be used to apply gradients to SwiftUI views such as text, shapes, and SF Symbols. In this video, we will look at how to apply gradients to the above SwiftUI views. Finally, I will show you a trick to add a gradient to an image view.
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...