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 Announces Special Event in New York Feature 1

Apple Reportedly Plans to Unveil at Least Five New Products Next Week

Sunday February 22, 2026 9:48 am PST by
In his Power On newsletter today, Bloomberg's Mark Gurman said Apple will have a three-day stretch of product announcements from Monday, March 2 through Wednesday, March 4. In total, he expects Apple to introduce "at least five products." Subscribe to the MacRumors YouTube channel for more videos. A week ago, Apple invited selected journalists and content creators to an "Apple Experience" in...
iOS 26

iOS 26.3.1 Update for iPhones Coming Soon as 'Apple Experience' Nears

Sunday February 22, 2026 5:29 pm PST by
Apple's software engineers are testing iOS 26.3.1, according to the MacRumors visitor logs, which have been a reliable indicator of upcoming iOS versions. iOS 26.3.1 should be a minor update that fixes bugs and/or security vulnerabilities, and it will likely be released within the next two weeks. Last month, Apple released iOS 26.2.1 with bug fixes and support for the second-generation...
iPhone 18 Pro Deep Red Feature

Apple is Testing These iPhone 18 Pro and Foldable iPhone Colors

Sunday February 22, 2026 8:41 am PST by
The special new color that Apple is considering for the iPhone 18 Pro and iPhone 18 Pro Max this year is red, according to Bloomberg's Mark Gurman. Specifically, he said that Apple is testing a "deep red" finish for the two devices. If this rumor materializes, it would be the first time that the Pro and Pro Max models ever come in red, and the iPhone 18 Pro models would be the first...
tim cook data privacy day

Tim Cook Warned by CIA That China Could Move on Taiwan by 2027

Tuesday February 24, 2026 4:03 am PST by
Apple CEO Tim Cook was among a handful of top tech executives who attended a classified CIA briefing warning that China could attack Taiwan by 2027, according to a sweeping investigative report by The New York Times ($). The previously unreported briefing was apparently held in a secure room in Silicon Valley in July 2023. The meeting is said to have been arranged at the request of the...
airpods pro 3 design

Higher-End AirPods Pro Launching This Year

Monday February 23, 2026 2:31 pm PST by
While the AirPods Pro 3 launched less than six months ago, it has been rumored that Apple plans to unveil new AirPods Pro this year. Instead of AirPods Pro 4, it has been rumored that the new AirPods Pro will be a higher-end version of the AirPods Pro 3. This would be similar to the regular AirPods 4, which are available in two versions, with and without active noise cancellation....