Friday, 22 August 2014

Hide the Status Bar in iPhone (iOS 7)

- (BOOL)prefersStatusBarHidden
{
    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
        return YES;
    else
        return NO;
}

No comments: