views:

188

answers:

1

When I created an ad-hoc provision to test my app remotely, the landscape setting malfunctions. The app is supposed to be landscape with the home button on the right. When I create an adhoc provision for one of my devices here, it works fine. One of my devices a coworker is using remotely, however, shows the app in portrait mode (so the right half is cut off). I suspected my plist info file wasn't carrying over but that wasn't it as I set the orientation value outright through code and it still didn't work. I'm a bit befuddled why it breaks on one device and not another. Any suggestions?

A: 

I discovered the cause!

Apparently, the misbehaving ipod touch had not been setup for mail. My app had invoked some in-app email functionality and induced the system dialog asking the user to setup mail. This in turn caused some trouble that apparently resulted in subviews being automatically rotated to the orientation of the app. I do not know if this is a problem specific to the foundation code of my engine, but hopefully if this trips up someone in the future, this can help.

Joey