Monday, January 10, 2011

UIApplication Methods

    [UIApplication sharedApplication].statusBarHidden = NO;   // To Hide/Unhide the status bar.
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent; //To set the Style to status bar.
    [UIApplication sharedApplication].statusBarOrientation = UIDeviceOrientationPortrait; //To set the Device Orientation.

We can write
[UIApplication sharedApplication].statusBarHidden     this as
    [[UIApplication sharedApplication] setStatusBarHidden:NO];

No comments:

Post a Comment