Using UIView and UIViewController in SwiftUI

Tobias Wissmueller
ITNEXT
Published in
2 min readMay 7, 2021

--

Photo by Jesper Aggergaard on Unsplash

Every now and then I come across an SDK that is not using SwiftUI, but “the old” UIKit with its UIView and / or UIViewController.

As I am in the process of writing a series on programming DJI drones, I am using DJIs SDKs which are based on UIKit. Therefore I had to find a way on how to use them in my app that is based on SwiftUI.

--

--

Writer for

Documenting my Tech-Stack: Jetpack Compose for Android, SwiftUI for iOS and more and more Kotlin Multiplatform for everything.