Automatically Toggle iPhone Orientation Lock for Specific Apps - MacRumors
Skip to Content

Automatically Toggle iPhone Orientation Lock for Specific Apps

by

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.

orientation lock
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 – in the Photos app for example, 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 enable Orientation Lock again, 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. Scroll down and select App in the list.
  4. Make sure Is Opened and Is Closed are both checked, and select Run Immediately, then tap the blue Choose option.
    shortcuts

  5. Select the apps that you want the automation to work with (Photos in our example), then tap Done.
  6. Tap Next in the top-right corner.
  7. Start typing "Set Orientation Lock" into the search field, or swipe along the "Get Started" row to reveal the script, then tap to choose it.
  8. Tap Done in the top-right corner 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. Bear in mind that if Orientation Lock is already disabled when you open one of the selected apps, the lock will be turned back on, which is probably the reverse effect that you intended.

Popular Stories

shortcuts

iOS 27 Shortcuts App May Write Custom Actions for You Using AI

Tuesday March 31, 2026 6:22 am PDT by
Apple continues to develop a new feature for its Shortcuts app that will let users generate unique actions using Apple Intelligence models, based on backend code discovered by Nicolás Alvarez and confirmed by MacRumors. For those unfamiliar with the Shortcuts app, the tool lets users create elaborate custom workflows or actions – called shortcuts – to perform tasks automatically or with...
MacBook Pro Low Angle Wide Lens

Apple to Launch 'MacBook Ultra' With These Six New Features

Friday April 24, 2026 10:32 am PDT by
While the 14-inch and 16-inch MacBook Pro were just updated with M5 Pro and M5 Max chips last month, bigger changes are reportedly around the corner. According to Bloomberg's Mark Gurman, the higher-end MacBook Pro models will be receiving a major redesign by early 2027, and he said that Apple might use "MacBook Ultra" branding for them. If so, the MacBook Ultra would likely be a...
Dynamic Island iPhone 18 Pro Feature

This Is What the iPhone 18 Pro Looks Like

Saturday April 25, 2026 10:00 am PDT by
A recent leak provides our best look yet at the design of Apple's upcoming iPhone 18 Pro and iPhone 18 Pro Max models. Leaker Sonny Dickson recently shared images of the first iPhone 18 Pro, iPhone 18 Pro Max, and foldable iPhone dummy models. The images largely conform with rumors about the designs of the three devices and provide the first real visual confirmation of how they will look. ...