Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
GameCenter and Orientation leads to crash the App — Gideros Forum

GameCenter and Orientation leads to crash the App

RadieselRadiesel Member
edited November 2012 in Bugs and issues
Hi,
running my Game on iPad using GameCenter without problem. On iPhone it crashes with the following message:

Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'

I think I ran into the following issue:
http://stackoverflow.com/questions/12427979/gamecenter-authentication-in-landscape-only-app-throws-uiapplicationinvalidinter

Since my Game is Landscape only, I remove the Portrait Modes in Xcode. I had to do this, because if I don't do this, GameCenter pops up in portrait mode when started first time, while my game is already Landscape mode. But disabling Portrait Modes is exactly the reason for the crash above.

@Atilim, is there any solution, or shall I add this to the bug tracker (if I am allowed to do that)?

best regards
Michael

Comments

Sign In or Register to comment.