Skip to main content

How to Automatically Toggle iPhone Orientation Lock for Specific Apps

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.


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 – think YouTube or the Photos app, 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 turn Orientation Lock back on, 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. Tap Create Personal Automation.
  4. Scroll down and select App.
    shortcuts
  5. Make sure Is Opened and Is Closed are both checked, then tap the blue Choose option.
  6. Select the apps that you want the automation to work with (we’re selecting YouTube and Photos), then tap Done.
  7. Tap Next.
  8. Tap Add Action.
    shortcuts
  9. Start typing "Set Orientation Lock" into the search field, then select the script in the search results when it appears.
  10. Tap Next in the top-right of the Actions screen.
  11. Toggle off the switch next to Ask Before Running, then tap Don’t Ask in the confirmation prompt.
  12. Tap Done 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 and you open one of the selected apps, the lock will be turned back on, which is likely the reverse effect that you intended.
This article, "How to Automatically Toggle iPhone Orientation Lock for Specific Apps" first appeared on MacRumors.com

Discuss this article in our forums



Source: TechRadar

Popular posts from this blog

iOS 14 Favorites Widget: How to Make a Replacement With Shortcuts

In iOS 14 , Apple overhauled widgets and introduced an option for adding ‌widgets‌ to the Home Screen , but in the process, a well-loved Favorites widget that existed in iOS 13 was removed. The Favorites widget let users set certain contacts and contact methods as favorites that were easily accessible, so you could, for example, add a favorite option for messaging Eric or calling Dan, with those actions executed with a tap. Why the Favorites widget was removed is a mystery and it could be a simple oversight with Apple planning to reintroduce it later, but for now, those who relied on the widget can recreate its functionality with Shortcuts. It takes some effort, but it may be worth the time investment if you often relied on your Favorites. Creating a Favorites Shortcut Making a shortcut that replicates the behavior of the Favorites widget isn't too tough, but if you want multiple favorite options, you'll need to create a separate shortcut for each one in the Shortcuts

The hidden cost of food delivery

Noah Lichtenstein Contributor Share on Twitter Noah Lichtenstein is the founder and managing partner of Crossover , a diversified private technology fund backed by institutional investors, technology execs and professional athletes and entertainers. More posts by this contributor What Studying Students Teaches Us About Great Apps I’ll admit it: When it comes to food, I’m lazy. There are dozens of great dining options within a few blocks of my home, yet I still end up ordering food through delivery apps four or five times per week. With the growing coronavirus pandemic closing restaurants and consumers self-isolating, it is likely we will see a spike in food delivery much like the 20% jump China reported during the peak of its crisis. With the food delivery sector rocketing toward a projected $365 billion by the end of the decade, I’m clearly not the only one turning to delivery apps even before the pandemic hit. Thanks to technology (and VC funding) we can get a ri

Amazon Takes Up to $200 Off M1 iPad Air With New Record Low Prices

Apple's previous generation M1 iPad Air has dropped further in price this week on Amazon, now available at $399.00 for the 64GB Wi-Fi model, down from $599.00. These price drops follow just one week after Apple unveiled the new M2 iPad Air. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. You can also get the 256GB Wi-Fi M1 iPad Air on sale for $599.00, down from $749.00. Both of these deals are new all-time low prices on the 2022 tablet, and right now only Amazon has the discounts. $200 OFF 64GB Wi-Fi M1 iPad Air for $399.00 $150 OFF 256GB Wi-Fi M1 iPad Air for $599.00 Additionally, both cellular models are on sale right now on Amazon. The 64GB cellular model has hit $599.00 , down from $749.00, while the 256GB cellular model is available for $749.00 , down from $899.00. Stock on the cellular models is far more sparse compared to the Wi-Fi tablet

Apple Adds Support for Live Activities to Shazam

Apple today added support for Live Activities in Shazam, its free music discovery and identification app. Shazam's Live Activities keep the user updated when searching for music in the background, which is particularly useful when multitasking or identifying songs in other apps . The last significant update to Shazam arrived in January, allowing users to identify songs from other apps while listening with headphones. Apple acquired Shazam in 2018, and has been gradually bringing the app into closer alignment with ‌ Apple Music ‌ ever since, offering trials to the streaming service through the app and the ability to sync Shazams directly to ‌‌Apple Music‌‌. Shazam can be downloaded from the App Store for free . It can be accessed through the Control Center on ‌‌ iPhone ‌‌ and ‌‌ iPad ‌‌, through ‌ Siri ‌ commands, or on the Mac, as well as via widgets. Version 17.11 of Shazam is now available. Apple opened up its Live Activities API to third-party ‌iPhone‌ apps with the r