My App refuses to rotate

2013-05-28 Thread Gerriet M. Denkmann
I have an iOS 6.1 app. Info.plist contains: keyUIInterfaceOrientation/key stringUIInterfaceOrientationPortrait/string keyUISupportedInterfaceOrientations/key array stringUIInterfaceOrientationLandscapeRight/string

Re: My App refuses to rotate

2013-05-28 Thread David Duncan
Did you set the window's rootViewController to your view controller? On May 28, 2013, at 12:01 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: I have an iOS 6.1 app. Info.plist contains: keyUIInterfaceOrientation/key stringUIInterfaceOrientationPortrait/string

Re: My App refuses to rotate

2013-05-28 Thread Andreas Liebschner
On Tue, May 28, 2013 at 9:01 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: But in the iPhone simulator and in the iPhone device the rootViewController always has interfaceOrientation = 1 (Portrait). All other ViewControllers also show interfaceOrientation = 1 (Portrait). Any chance that

Re: My App refuses to rotate

2013-05-28 Thread Gerriet M. Denkmann
On 28 May 2013, at 14:03, David Duncan david.dun...@apple.com wrote: Did you set the window's rootViewController to your view controller? In WordsViewController (subclass of UIViewController) I added: UIView *view = ss.view; UIWindow *window = view.window;

Re: My App refuses to rotate

2013-05-28 Thread Gerriet M. Denkmann
On 28 May 2013, at 14:14, Andreas Liebschner andr...@lbsnrs.com wrote: On Tue, May 28, 2013 at 9:01 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: But in the iPhone simulator and in the iPhone device the rootViewController always has interfaceOrientation = 1 (Portrait). All other