Skip to content

mk/HidesBarsOnTap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

HidesBarsOnTap

Example project trying to illustrate the inability to show and hide the status bar and navigation bar like the Maps app does.

The relevant code snipplet is:

@implementation ViewController

- (void)viewDidLoad {
	[super viewDidLoad];
	self.navigationController.hidesBarsOnTap = YES;
}

- (BOOL)prefersStatusBarHidden {
	return self.navigationController.navigationBarHidden;
}

- (UIStatusBarAnimation)preferredStatusBarUpdateAnimation {
	return UIStatusBarAnimationSlide;
}

@end

See also the Screenrecording movie on Dropbox.

About

Sample project trying to illustrate the inability to smoothly animate the status bar and navigation bar on iOS 8

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors