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

iOS 27 on iPhone 17 1

iOS 27 Will Add These New Features to Your iPhone

Saturday May 2, 2026 8:43 am PDT by
Apple is expected to unveil iOS 27 during its WWDC 2026 keynote on June 8, and there are already many rumored features and changes for iPhones. The first developer beta of iOS 27 will likely be available immediately following the keynote, and a public beta typically follows in July. Following beta testing, the software update should be released to all users with a compatible iPhone in...
Apple MacBook Pro M4 hero

Why You Might Want to Wait to Buy a MacBook Pro

Friday May 1, 2026 3:43 pm PDT by
Apple refreshed the 14-inch and 16-inch MacBook Pro with M5 Pro and M5 Max models in March 2026, but depending on your needs and interests, you might want to skip this generation because there's something better in the works. The M5 Pro and M5 Max MacBook Pro models have faster chips, but the same design that Apple has used since 2021. An updated design with new display technology and faster ...
macOS 27 on MacBook Pro

Apple to Unveil macOS 27 Next Month With These New Features

Friday May 1, 2026 1:21 pm PDT by
Apple will unveil its latest software platforms during its WWDC 2026 keynote on Monday, June 8, and one of them will be macOS 27 for the Mac. The first developer beta of macOS 27 will likely be available immediately following the keynote, and a public beta typically follows in July. Following beta testing, the software update should be released to all users in September. macOS 26 is known ...