Considering you use a UIKit app as shown below. When you load a SwiftUI view from UIKit you would use a hosting controller to load. At this instance, most likely you will see a small gap at the top. This happens because of the conflict between the navigation controllers of UIKit and SwiftUI. To fix