Orientation Woes

I am adding a cocoa plugin to our Unity project and it fires off a couple of UIAlertView dialogs.

Our Unity app has the default orientation setup to LandscapeLeft, and we only handle the two landscape modes and ignore all Portrait.

No matter how I orient the device, the UIAlertView fires off in portrait. Anyone else have this issue?

Try looking at the info.plist in your xcode project at the entry “UISupportedInterfaceOrientations” if there are entries for portrait and portraitupside down in there delete them.