How to Turn on Orientation Lock When Opening an App on iPhone
The iPhone orientation lock lacks context consciousness. Opening YouTube or Netflix gained’t disable the lock, nor will opening a news-reading app allow it. Fortunately, there’s a Shortcuts automation to mechanically toggle the orientation lock when utilizing sure apps.
So long as your iPhone is operating iOS 14.5 or larger, you’ve gotten entry to a Shortcuts motion known as “Set Orientation Lock.” Utilizing this motion, you may create a shortcut automation that can allow or disable the portrait orientation lock.
The Automation feature in Shortcuts helps many triggers, starting from the time of day to opening or closing apps. On this information, we’ll give attention to the opening and shutting app set off.
When utilizing the Orientation Lock motion in a shortcut, you may create a number of automations relying in your wants. For instance, you may disable the orientation lock when opening Netflix or YouTube. Then, you may create one other one for reenabling it when closing the Netflix or YouTube app.
Within the following information, we’ll stroll you thru the method of organising an automation that disables orientation lock while you open an app (Netflix or YouTube).
To get began, first, open the “Shortcuts” app in your iPhone and navigate to the “Automations” tab.
Faucet the “+” button from the highest.
Select the “Create Private Automation” possibility.
Now, from the triggers listing, faucet the “App” possibility.
Right here, faucet the “Select” button from the “App” part.
Seek for and add the app that you just need to create the automation for. You may select a number of apps right here as nicely. Faucet “Carried out” to save lots of your choice.
Be sure that the “Is Opened” possibility is chosen. This makes positive that the automation runs while you open the chosen apps. Then, faucet the “Subsequent” button from the highest.
It’s time to create the shortcut. Right here, faucet the “Add Motion” button.
Seek for and add the “Set Orientation Lock” motion.
By default, this motion is about to toggle the orientation lock. However we need to disable it, so faucet the “Toggle” button for extra choices.
From the pop-up, select the “Flip” possibility.
Subsequent, faucet the “On” button in order that it switches to the “Off” settings. The shortcut is now full. Faucet the “Subsequent” button.
By default, the shortcut automation will ship you a notification that you just’ll should faucet to set off the automation. Toggle off the “Ask Earlier than Working” choice to disable this characteristic.
From the pop-up, faucet the “Don’t Ask” button to verify.
Now, this automation will run mechanically within the background. When you’re achieved, faucet the “Carried out” button.
And that’s it. The automation is now full.
The following time you open the Netflix or YouTube app, you’ll see a notification saying that the app has triggered the shortcut.
Now that you just’ve created the automation for disabling the portrait orientation lock when opening an app, you may create one other automation to reenable it while you shut the apps. You may repeat the directions above with a number of modifications.
Whenever you’re organising the shortcut, ensure to pick the “Is Closed” possibility.
And within the shortcut motion, set the orientation to “Flip On.”
You don’t should spend time creating complicated shortcuts to automate actions in your iPhone or iPad. You may simply obtain community-created shortcuts and begin utilizing them in only a second!