Search Unity

Landscape orientation autorotation not working

Discussion in 'iOS and tvOS' started by Aaron-Meyers, Aug 17, 2017.

  1. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    305
    I'm trying to support both types of landscape orientation (no portrait) for an iPhone app. The relevant player settings are as follows:
    upload_2017-8-17_15-49-1.png

    I thought this alone ought to be enough, but it wasn't so I tried added the following to a Start() function of an object in the main scene:
    upload_2017-8-17_15-50-22.png

    When I run the app on the device, I'm stuck in LandscapeRight. It never switches when I turn the phone over.

    Am I missing something?

    -A
     
  2. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Is your device orientation locked on your phone? :)