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

Aston Martin CarPlay Ultra Screen

Apple Says CarPlay Ultra is Coming to These Vehicle Brands

Thursday May 21, 2026 11:53 am PDT by
Last year, Apple launched CarPlay Ultra, the long-awaited next-generation version of its CarPlay software system for vehicles. Nearly a year later, CarPlay Ultra is still limited to Aston Martin's latest luxury vehicles, but that should change fairly soon. In May 2025, Apple said many other vehicle brands planned to offer CarPlay Ultra, including Hyundai, Kia, and Genesis. CarPlay Ultra...
ios 26 iphone 16 pro lock screen notifications feature 1

iOS 27 Notifications Will Slide in From Left Side of Your iPhone's Screen

Friday June 5, 2026 7:24 am PDT by
Bloomberg's Mark Gurman today revealed another iOS 27 change: notifications will slide in from the left side of the screen instead of from the top. In addition, accessing Notification Center on iOS 27 will require swiping down on the top-left corner of the screen. If you swipe down on the Dynamic Island area, a new "Search or Ask" interface tied to the revamped Siri will appear, instead of...
WWDC26 Mock Feature 2

Will Apple Launch New Hardware at WWDC Next Week?

Friday June 5, 2026 7:56 am PDT by
Apple has several hardware releases in the pipeline, but will we see any of them unveiled at this year's Worldwide Developers Conference? WWDC is primarily a software event where new versions of iOS, iPadOS, macOS, watchOS, tvOS, and visionOS take center stage, but it's not unusual for Apple to introduce new hardware during the developer conference. Take WWDC 2017, for example, where Apple...