wantsFullScreenLayout
A Boolean value indicating whether the view should underlap the status bar.
Declaration
@property (nonatomic, assign) BOOL wantsFullScreenLayout;Discussion
When a view controller presents its view, it normally shrinks that view so that its frame does not overlap the device’s status bar. Setting this property to true causes the view controller to size its view so that it fills the entire screen, including the area under the status bar. (Of course, for this to happen, the window hosting the view controller must itself be sized to fill the entire screen, including the area underneath the status bar.) You would typically set this property to true in cases where you have a translucent status bar and want your view’s content to be visible behind that view.
If this property is true, the view is not resized in a way that would cause it to underlap a tab bar but is resized to underlap translucent toolbars. Regardless of the value of this property, navigation controllers always allow views to underlap translucent navigation bars.
The default value of this property is false, which causes the view to be laid out so it does not underlap the status bar.