Top "Uideviceorientation" questions

Get device current orientation (App Extension)

How to get device current orientation in an App Extension, I have tried below two methods but no success. It …

ios objective-c keyboard ios-app-extension uideviceorientation
How to manually set the device orientation when App Deployment Info portrait is locked?

I dont want my app to be landscaped and always be porttrait.So i made my app Deployment Info to …

ios iphone landscape-portrait portrait uideviceorientation
Change or disable the iPhone rotating animation when orientation changes

How do I change or disable the rotating animation when screen orientation changes from landscape to portrait, or vice versa?

iphone objective-c uideviceorientation
when iphone Device orientation is face up/down, can I tell if it´s landscape or portrait?

I got this code that if the device is in landscape left/right or upside down it rotates and shows …

ios uiviewcontroller uideviceorientation
UIDeviceOrientationFaceUp - how to distinguish between portrait and landscape?

I'm trying to find out if the device is in portrait or landscape mode. My code works quite well if …

iphone cocoa-touch ipad landscape-portrait uideviceorientation