iphone - How to hide navigational bars according to cursor positons to use full screen? -


I'm trying to hide shipping bars according to cursor positons, so that I can use the full screen of the iPhone.

Similar (less confusing :)):

If you see Use the code below if you want to hide and show the navigation bar on the double tap on any part

In your .h file:

  IBOutlet UI controller controller; Navigation controller;  

Connect to IBOutlet in your XIB.

In your .m file:

  - (zero) viewDidoadload {[Super Viewedload]; [Navigation controller set navigation bar: Yes]; } - (zero) touches: (NSSET *) touches the event: (Uiivent *) event {UITT * touch = [touches any object]; If (touch.tapCount == 2) {[Navigation Controller Setting Navigation: No]; [NSTimer Scheduled timer with interval: (1.0) Goal: Self selector: @sillector (hiddener) userInfo: zero repeats: no]; }} - (empty) Hidebar {[Navigation controller set navigation bar: Yes]; }  

Modify as per your requirement.

Happy coding!


Comments