iPhoneSettings.verticalOrientation = false crashes the app

Hi there,

My app crashes when I add the following line

iPhoneSettings.verticalOrientation = false;

I have no idea how it crashes my app. It’s in the Start function.

"-> applicationDidBecomeActive()
(0.0, 0.0, 0.0) (Filename: /Users/build/builds/unity-iphone-1.0.3/iphone-1.0.3/Projects/…/Runtime/Export/Generated/BaseClass.cpp Line: 1703)
Unknown error occured in:
No method at 0x312963d8
"

Here’s the error message in the console

Hm. seems like any attempt to use iPhoneSettings crashes my app.

I have ported the app from Unity to Unity iPhone. Is there any chance this might cause trouble here?

Again. the game runs fine in vertical view without iPhoneSettings.verticalOrientation = false command. but I really want to get wide view working.