setStatusBarHidden:NO after XIB load covers UINavigationBar

When setStatusBarHidden:NO is set before the view loads, the UINavigationBar and other elements appear aligned immediately below the StatusBar as they should. However, when setStatusBarHidden:NO is set after the view loads, the UINavigationBar is partially covered.

The StatusBar must be revealed after loading the said view, but how can this be done without encountering the aforementioned problem?

10
задан Old McStopher 8 March 2011 в 04:44
поделиться