I have a problem after updating to Xcode 11 & Swift 5 (Screenshot below).
My ViewController
always has strange top space.
Is this a bug? If so, how to fix this ?
It is not caused by Swift 5.0, but rather the framework. Starting iOS 13.0, all the modal presentation are default to that kind. One way to get that to the old default is to set your modal's presentation type to .fullScreen
. If you're using Storyboard, you can get it done like so: