Skip to content

AmadorNavarro/ANLHideNavigationAndTabBars-Category

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ANLHideNavigationAndTabBar

A very ligth category of UIViewController that let hide the above and bellow bars when you use a UIScrollView subclass and dragging it.

Example

##How to use it Only import to your project ANLHideNavigationAndTabBar.h and .m and in your ViewController asing your UIScrollView subclass and enable the hidden flag, you can select the delay time in seconds to show the bars when the user end scroll. If you want disable the hide function, only set NO the hiddenEnable property.

Enable

//Example
-(void)viewWillAppear:(BOOL)animated {

	[super viewWillAppear:animated];


	[self setScrollViewInheritor:[self tableView]];
	[self setHiddenEnable:YES];
	[self setDuration:0];
}

Disable

[Self setHiddenEnable:NO];

You can change the delay when you want

**setNewDelay

[self setDuration:3];

All feedback are wellcome.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published