user user - 3 months ago 16
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?

image

Answer

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

enter image description here