Tired of toggling your iPhone's Orientation Lock for certain apps? Keep reading to learn how you can make iOS do it for you automatically.


In iOS, many apps display a different view when you rotate your iPhone from portrait to landscape orientation. Depending on the app and the way you use it, this behavior isn't always desirable, which is why Apple includes the Orientation Lock option in Control Center.

However, certain apps work more usefully with Orientation Lock disabled – think YouTube or the Photos app, where rotating your device to landscape orientation makes for a better fullscreen viewing experience.

If you tend to keep the lock on, you have to disable it in Control Center each time you open these kinds of apps to get the fullscreen experience. Then when you close the app, you have to remember to turn Orientation Lock back on, which isn't ideal. Fortunately, there is a simple personal automation you can create that will take over this process for you for specific apps, so you don't have to keep going in and out of Control Center any more.

The following steps show you how it's done.
  1. Open the Shortcuts app on your iPhone and select the Automation tab.
  2. Tap the plus symbol in the top-right corner of the screen.
  3. Tap Create Personal Automation.
  4. Scroll down and select App.
    shortcuts
  5. Make sure Is Opened and Is Closed are both checked, then tap the blue Choose option.
  6. Select the apps that you want the automation to work with (we’re selecting YouTube and Photos), then tap Done.
  7. Tap Next.
  8. Tap Add Action.
    shortcuts
  9. Start typing "Set Orientation Lock" into the search field, then select the script in the search results when it appears.
  10. Tap Next in the top-right of the Actions screen.
  11. Toggle off the switch next to Ask Before Running, then tap Don’t Ask in the confirmation prompt.
  12. Tap Done to finish.
    shortcuts
Your automation will now be saved in the Shortcuts app, and will be activated the next time you open or close any of the apps you selected for it to work with.
This article, "How to Automatically Toggle iPhone Orientation Lock for Specific Apps" first appeared on MacRumors.com

Discuss this article in our forums



source https://www.macrumors.com/how-to/auto-toggle-orientation-lock-iphone/