Relative Content

Tag Archive for iosswiftswiftuiuikit

UIAnimatedNavigationTransition with UIKit and SwiftUI

When creating an animated transition in an iOS application with UIKit, we typically use UIAnimatedNavigationTransition between two view controllers. However, a new business requirement necessitates replacing one of the view controllers with a SwiftUI view. How can we make the animated navigation transition work between a SwiftUI view and a UIKit view controller? Is there a way to achieve this?

No such module ‘UIKit’ for SwiftUI project

It’s been about 10 years since I last worked with iOS. I was experimenting with using an API to check if the user has CarPlay open, but the solution I found depends on UIKit, specifically UIScreen.