Reputation: 245
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
Upvotes: 0
Views: 1431
Reputation: 44633
You should override shouldAutorotateToInterfaceOrientation
in your custom view controller subclass to support all orientations. A simple return YES;
would suffice. What you are doing right now is setting the UISupportedInterfaceOrientations
key in Info.plist. This info helps iOS identify choose the suitable launch orientation for your app based on the current orientation of the device.
Upvotes: 1
Reputation: 839
It appears in your screenshot that all device orientations are disabled, rather than enabled; clicking the orientations you want once more should help you.
Upvotes: 0