this is my first app with xcode. I use xcode 4 . And my first problem is that i maked this
http://tinypic.com/r/2hykvbt/7
but my app still work only with Portrait orientation . Help please
this is my first app with xcode. I use xcode 4 . And my
Share
You should override
shouldAutorotateToInterfaceOrientationin your custom view controller subclass to support all orientations. A simplereturn YES;would suffice. What you are doing right now is setting theUISupportedInterfaceOrientationskey in Info.plist. This info helps iOS identify choose the suitable launch orientation for your app based on the current orientation of the device.