Monday, September 17, 2012

Status bar hidden

To make the status bar hidden initially on loading of the app,we have to do three steps
1.open the urAppname.info-plist and add a row with key "Status bar is initially hidden".set its value to YES.

2.open the viewController.xib file and select the view then go to attributes and make "Status Bar" to None value.

3.Final step is in AppDelegate.m add the following line under application : didFinishLaunchingWithOptions:
  [[UIApplication sharedApplication]setStatusBarHidden:YES];

No comments:

Post a Comment