Return to Snippet

Revision: 31929
at September 16, 2010 00:18 by BenClayton


Initial Code
// setStatusBarHidden only on 3.2 and above.
		if([[UIApplication sharedApplication] respondsToSelector:@selector(setStatusBarHidden: withAnimation:)]) {
			[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationFade];
		} else {
			[[UIApplication sharedApplication] setStatusBarHidden:NO animated:YES];
		}

Initial URL

                                

Initial Description

                                

Initial Title
iPhone: Hide status bar (safe for 3.1, 3.2, and 4.0)

Initial Tags

                                

Initial Language
Objective C