Wrapping a UIViewController into a SwiftUI view

  • navigating to a UIKit controller created in a storyboard file from SwiftUI
  • previewing a UIViewController wrapped in UIViewControllerRepresentable in Xcode previews
  • setting up a bidirectional data flow between SwiftUI and the wrapped view controller
You need to purchase the book to read this chapter.WWDC23 offer is active now: 40% off!Learn more about the bookAlready have a copy? Request access.