Silent
Silent

Reputation: 681

Hide navigation bar and toolbar on touch

Does anyone have any info or code on how to can hide a navigation bar and toolbar when the user touches the iphone screen.

Basically I have an image gallery and I want to see the images in the whole of the iphone screen.

also im trying to implement a button so the user can download the image i had no luck on my search on google. Thanks

Upvotes: 2

Views: 4859

Answers (1)

Morion
Morion

Reputation: 10860

  1. [self.navigationController setNavigationBarHidden:YES animated:YES]
  2. as I remember, there is smth like setHidden: method for any view. toolbar is a view.
  3. handling touches. see touchesBegan:withEvents: in UIResponder.
  4. you cannot download image? how do you try to do it? what the problem is?

Upvotes: 2

Related Questions