Search code examples
iosxcode11

ViewController is appearing transparent and showing another screen in background


Created this app long before the update for Xcode 11. While testing my app, I happen to notice that when I seque to another screen, I can see the screen but I can also see another screen in the background.

pic

you will notice these things in the background are from another view controller, are appearing: - the title (should only be the image of a user) - the background pic (this background should be white) - the "what are you?" message - rider and driver buttons

Any idea why?


Solution

  • I set the Presentation property of the Navigation Controller attached to the View Controller in question to .fullscreen.