iPhone 5 problem with touches at the bottom of the screen

20 Sep
September 20, 2012

I’ve been upgrading some apps to support the new screen size and had a weird issue. Everything at the bottom of the screen wasn’t getting touch events. The problem it turns out was related to the window being created by interface builder and missing a check mark. From the docs:

If you choose to create a window in Interface Builder, be sure to select the Full Screen at Launch option in the Attributes inspector so that the window is sized appropriately for the current device. Because a window doesn’t receive touch events outside of its bounds and views aren’t clipped to the window’s bounds by default, an improperly sized window might not be able to deliver touch events to all its views.

Check the box and problem solved.

1 reply

Trackbacks & Pingbacks

  1. [...] Nevan King was in touch to highlight a more elegant solution. Anthony Prato’s post, is better [...]

Comments are closed.