First time here? Check out the FAQ!
x

How to control orientation changes in iOS6 programmatically?

0 votes
asked by (120 points)
edited by

I have to control one screen as portrait, another screen as landscape in the same application.

1 Answer

0 votes
answered by (194k points)
edited by

In iOS 6 setOrientation is now deprecated which means that it will not work anymore as it was in iOS 5. Please use the official developer documents from Apple in order to find alternative ways of programmatical orientation adjustment.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...