TUTORIALS
How to Automatically Toggle iPhone Orientation Lock for Specific Apps
2723
2023-05-30
Posted by 3uTools

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.

How to Automatically Toggle iPhone Orientation Lock for Specific Apps


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.


  1. How to Automatically Toggle iPhone Orientation Lock for Specific Apps

  • Make sure Is Opened and Is Closed are both checked, then tap the blue Choose option.

  • Select the apps that you want the automation to work with (we’re selecting YouTube and Photos), then tap Done.

  • Tap Next.

  • Tap Add Action.

  1. How to Automatically Toggle iPhone Orientation Lock for Specific Apps

  • Start typing "Set Orientation Lock" into the search field, then select the script in the search results when it appears.

  • Tap Next in the top-right of the Actions screen.

  • Toggle off the switch next to Ask Before Running, then tap Don’t Ask in the confirmation prompt.

  • Tap Done to finish.

  1. How to Automatically Toggle iPhone Orientation Lock for Specific Apps


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. Bear in mind that if Orientation Lock is already disabled and you open one of the selected apps, the lock will be turned back on, which is likely the reverse effect that you intended.


Source: Macrumors

Thanks for visiting. For more latest updates or supports, follow us on Facebook or Twitter .
Related Articles
Tip : Using Siri to turn system settings on and off How to Delete/Remove Default Apps on iPhone? iPhone’s Photos App is More Feature-rich than You Think: A Complete Walkthrough 10 Paid iPhone and iPad Apps on Sale for Free Today How to Prevent Apps From Being Deleted?