Search code examples
iosiphoneuinavigationcontrollerstatusbar

iOS: Unknown black patch between status bar and ViewController


I have some strange issue like having a black patch between status bar and navigation view controller view. Screenshot is below, enter image description here

Black space which is displayed by red box is the issue.


Solution

  • Got it. It was my mistake as navigation controller's navigation bar with black colour and forgot to hide navigation bar. Apologies for wasting your time on idiotic question.