Show/Hide iPhone Status Bar

Show/Hide iPhone Status Bar

//Hide
[UIApplication sharedApplication].statusBarHidden = YES;

//Show
[UIApplication sharedApplication].statusBarHidden = NO;

http://codesnippets.joyent.com/posts/show/12742

This entry was posted in Objective-C and tagged , , , , , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Why ask?