Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Getting problem in ios 6 orientation when i build application in XCode 4.5

Hi Friends,


I have developed application in xcode 4.3, When i build this applciation in xcode 4.3 it's work fine but when I build this application in xcode 4.5. I am getting orientation problem, My application only have one orientation, I already set method for this but it's not calling in xcode 4.5. If any one have any idea please share here.


Thanks

Ron

Posted on Oct 4, 2012 9:46 PM

Reply
Question marked as Best reply

Posted on Oct 4, 2012 10:44 PM

Hi,


in iOS6 the way orientation-changes are handled has been changed completly.

You need to implement supportedInterfaceOrientations for your viewControllers. I suggest reading this: http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPho neOS/RespondingtoDeviceOrientationChanges/RespondingtoDeviceOrientationChanges.h tml


Dirk

1 reply
Question marked as Best reply

Oct 4, 2012 10:44 PM in response to Ron_j

Hi,


in iOS6 the way orientation-changes are handled has been changed completly.

You need to implement supportedInterfaceOrientations for your viewControllers. I suggest reading this: http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPho neOS/RespondingtoDeviceOrientationChanges/RespondingtoDeviceOrientationChanges.h tml


Dirk

Getting problem in ios 6 orientation when i build application in XCode 4.5

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.