In my app I've implemented a shake event and it shows a UIImageView. When the UIImageView is shown, I hide the Nav Bar with:
[self.navigationController setNavigationBarHidden:YES animated:NO];
And after that I want to bring it back when user touches the screen:
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
[[self navigationController] setNavigationBarHidden:NO animated:YES];
}
But it doesn't work! Like my view doesn't respond to touches.
Thanks in advance!