By increasing the minimum target for the SwiftUI views to iOS 14, we can use UIContentConfiguration to simplify the integration between UIKit and SwiftUI. We can now use the new UIHostingConfiguration on iOS 16 and fall back to UIHostingController using a custom UIContentConfiguration on older versions.
By increasing the minimum target for the SwiftUI views to iOS 14, we can use UIContentConfiguration to simplify the integration between UIKit and SwiftUI. We can now use the new UIHostingConfiguration on iOS 16 and fall back to UIHostingController using a custom UIContentConfiguration on older versions.