Process touches behind the UINavigationBar
Posted
by Reed Olsen
on Stack Overflow
See other posts from Stack Overflow
or by Reed Olsen
Published on 2009-10-12T15:18:06Z
Indexed on
2010/03/23
11:13 UTC
Read the original article
Hit count: 387
In my application, I'm displaying a fullscreen image in a 320 x 480 frame. After I display the image, I fade the navigation bar out to allow the user to see the whole picture. When the user taps in the area where the navigation bar was, I would like to bring the navigation bar back.
This is very similar to what happens in the iPhone Photos app.
Unfortunately, after I've hidden the UINavigationBar, I can't process touches on the screen where the navigation bar once was. I believe this is because the origin of the parent view is right below the navigation bar:
How can I process touches in this area to bring the nav bar back?
© Stack Overflow or respective owner