How to Use Custom Trait Collections in SwiftUI and UIKit

Learn how to use custom trait collections in iOS 17+ to propagate user preferences and configuration through your SwiftUI and UIKit app hierarchy with type safety and automatic change propagation.