I have an iPhone app which runs only in landscape orientation. There is is a button on the right side of the screen and one to the far left.
The bottom on the left side work and responds to touches. However, the button on the right side does not respond to touches.
If I display another view and return back to the main view all buttons work.
If I move the button to just before the 3/4 mark on the screen the button works.
If I run the app using the iOS 4.3.2 simulator the buttons work as well.
I am stumped on why buttons just past the 3/4 mark on the landscape screen are not responding.
The app was originally written using xCode 4.1 and iOS 4.3.2. I have opened the project in the new xCode and iOS SDK and this behaviour started.
Specified the frame size for the view in the AppDelegate code before adding it to the MainWindow.
Add the code before adding the view.
It goes before this line:
I could not figure out how to the MainWindow to be portrait.