TUTORIALS

How to Automatically Toggle iPhone Orientation Lock for Specific Apps

05/30/2023

4551

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

Windows
Mac OS
iOS
Linux
3uTools
Win 64-bit For this device
V9.0 2025-11-11
Download
Win 32-bit For this device
V9.0 2025-11-11
Download
3uTools V3.18
2025-09-18
Please use the 3uTools PC client to install the iOS client:
1、 Install either the Windows or Mac version of 3uTools on your computer
2、 Open the PC client and connect your device to the computer via USB cable
3、 After the connection is successful, wait for the computer to automatically install the mobile app for the device, or locate “Install Mobile App” on the computer and manually click to install.
3uTools
deb file
v3.01 2025-11-20
Download
rpm file
v3.01 2025-11-20
Download
Windows
iOS
Android
3uAirPlayer
Win 64-bit For this device
V6.0.2 2025-11-19
Download
Win 32-bit For this device
V6.0.2 2025-11-19
Download
iOS Device Mirroring (No App Required)
1、 Install 3uAirplayer on the Windows PC
2、 Open Control Center and select Screen Mirroring
3、 From the list, choose your PC to start mirroring
4、 Or connect your iOS device to the PC via USB to begin mirroring
Scan to get "3uAirPlayer" App