I have a problem in iOS11 with the iPhoneX simulator.
I have a viewcontroller without the statusbar. To do this I add:
- (BOOL)prefersStatusBarHidden {
return YES;
}
It is good so far but the navigationbar overlaps the safearea in the iPhoneX.
How can I fix this?