I'm building an app using the ImageTarget native iOS sample app as the base code. I've set the orientation for both iOS5 and iOS6 to support only landscape, and the display rotates correctly in both iOS5 and iOS6. I'm programmatically creating UIKit UI objects in the OverlayView without a problem.
In fact, the entire app is running as expected, with the exception of touch events when the app is first launched.
Upon first launching the app on an iPad, holding the app in either landscape orientation, touch events only occur as if the device was in Portrait orientation. Any touches in the range beyond the Portrait width are ignored until I physically rotate the device into the opposite landscape orientation. At this point, touch events occur as would be expected in landscape, and continue to occur correctly even after I rotate the device back to the original orientation.
This behaviour occurs regardless of the starting Landscape orientation, either left or right, when the app is first launched.
"handleARViewRotation:(UIInterfaceOrientation)interfaceOrientation" in ARViewController.mm is called on launch with the correct landscape orientation.
Have I missed a spot in the code where the launch orientation has been defined to Portrait?
Thanks for your help,