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

Apple Logo Gradient 16x9 1

Apple Just Made an Extremely Rare Product Announcement

Thursday August 27, 2026 7:58 am PDT by
The new Mac mini and Mac Studio models unveiled by Apple this week are the company's first new Macs announced in August since 2020. It is extremely rare for Apple to announce new products of any kind in August, excluding smaller things like new color options and accessories. As mentioned, Apple's last notable August product announcement was in 2020, when it updated the 27-inch iMac and a...
Surprise and Shine Feature

Apple Event Announced for September 9: 'Surprise and Shine'

Wednesday August 26, 2026 9:02 am PDT by
Apple plans to hold its annual iPhone-centric event on Wednesday, September 9 at the Apple Park campus in Cupertino, California. The event will begin at 10:00 a.m. Pacific Time, with select members of the media invited to attend. Subscribe to the MacRumors YouTube channel for more videos. The September 2026 iPhone event will see Apple announce the iPhone 18 Pro, the iPhone 18 Pro Max, and the ...
Apple Surprise Shine

Apple Event: Six New Products to Expect on September 9

Thursday August 27, 2026 8:00 am PDT by
Apple has announced that it will be holding an event on Wednesday, September 9 at 10 a.m. Pacific Time, with the company widely expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, its first-ever foldable iPhone, and more. Other products expected to be announced at the event include an Apple Watch Series 12 with a ceramic case option, an Apple Watch Ultra 4, AirPods 5 with and without...