user user - 1 year ago 132
iOS Question

Objective-c: landscape orientation only

I want the device supports only landscape orientation. On iPhones all work fine. But iPad supports portrait too. How to fix it?


Answer Source

Select the iPad from Devices and check Landscape Left & Landscape Right only like this image.

enter image description here