Posts

Post not yet marked as solved
0 Replies
231 Views
I have an odd spacing that appears between navigation bar and SwiftUI view during hide of the modal ViewController. The setup is: Have a NavigationController that contains a ViewController(UIViewController) as a root view this ViewController displays UIHostingController with SwiftUIView Button on SwiftUIView triggers closure on ViewController that displays modally OtherViewController (UIViewController) OtherViewController has a UITextField which becomes enabled - keyboard is displayed When user hides OtherViewController using swipe - the white stripe appears between navigationBar and the SwiftUIView. I've created a simple project to reproduce. The situation is visible on the attached screenshots. In this simple project after the OtherViewController is dismissed, the stripe is removed, but on my bigger project it remains there until navigation to the other screen is done. Any ideas what this can be and how to fix?
Posted
by DarkAnGth.
Last updated
.