Last year , Apple introduced the Action Button to the iPhone 15 Pro and leanedhardinto its enjoyment as a clitoris to take pictures . This year , though , the iPhone 16 and 16 Pro both have a Modern dedicatedCamera Controlbutton . So what ’s an Action button – also now on the iPhone 16 – to do ?
While the Action button can be attribute numerous task ( including setting a Focus mode and toggling the flashlight on and off ) I can see Apple fight with ways of making the legal action push seem less than an rethink , overshadowed by the new Camera Control .
For good example , Apple has suggest on a few occasions that the Action Button is a spot of a Chamaeleon . It can twist on the torch at nighttime , but toggle Do Not Disturb during the daylight , for example . Or it can turn on the flashlight when your iPhone is held horizontally , but plunge an app when held vertically !
This all sound clever , but alas , Apple has n’t in reality tot up any functionality that lets users well arrogate different task free-base on time or orientation . If you want to know how to do that sort of thing , you ’ll take to apply Apple ’s Shortcuts app to get it done .
I acknowledge Shortcuts is intimidating to a lot of people , so here ’s a very simple-minded templet to creating a introductory Action Button shortcut with behavior that varies based on some specific parameters . ( For more , much moreon this construct , delay out Federico Viticci’sMultiButton labor . )
Limitless potential
Shortcuts permit you create sequences of event that trigger from top to bottom when you draw them . It ’s like a reckoner program , but every event or command is a rectangular block that you could drag up and down to rearrange them .
For the purpose of this deterrent example , we ’re go bad to create a shortcut that find the orientation of your phone and do a unlike action at law depending on if you ’re in portrayal ( upright ) mode or not .
To begin , afford Shortcuts ( which is installed on every iPhone ) and solicit the “ + ” ikon in the upper right corner to create your first shortcut . On the iPhone , the Shortcuts window has two battery-acid : at the top , you ’ll see the series of Actions in the workflow ( presently none ) while at the bottom you ’ll see a library of all the Actions available on your gimmick . A bunch are bake into iOS , and case-by-case apps can impart their own Actions too .
For this instance , we need to check for gimmick preference . In theActionspane , you’re able to use the Search corner to look for forOrientationor you’re able to intercept the class filter markedDevicejust below the hunting boxwood , to determine the list of actions to just those intended to control or account back about your machine . The action you desire to tap is calledGet Orientation . When you tap it , it ’ll be tote up to the list of Actions in your work flow .
Now that we ’ve addedGet Orientation , we necessitate to do something with it – or really , we need to dotwothings with it . We need to perform one task if the phone is in Portrait predilection , and a dissimilar job if it is n’t . To do this , we need to bestow theIfaction . Tap in theSearch Actionsbox and search forIf , and then tap to tot it to your workflow . It ’ll automatically be tote up – along with two other actions , OtherwiseandEnd If – at the bottom of the workflow .
If you ’ve never done any programming before , this is the stripped bones of an If - Then statement . Below theIfstatement will go activity that happen if the If program line turn out to be true , and belowOtherwisewill go action that chance if the If statement is n’t true . Everything below theEnd Ifaction happens disregarding of the result of the residual of the If statement .
Now we need to specify what theIfstatement is going to evaluate . SinceIfwas added straightaway following our gain ofGet Orientation , it ’s been placed correctly below that action – and has automatically been assigned the solution ofGet Orientationas the particular that it ’s get going to try . This is ruminate in how the If mental block is exhibit , as “ If Get Orientation is [ Choose ] . ” We could bug on thatGet Orientationto modification theIfaction to value something else , and we could tap on theisstatement to change it to something like “ is not ” , but for now , let ’s provide it as is .
Now tap onChoose , to choose what we ’re evaluating about the twist orientation . In this case , we ’ll be prompted with a tilt of seven different possible iPhone orientations . Since the Flashlight only really piss sensory faculty when it ’s in portrait mode , tapPortrait . Now the If action take , “ If Get preference is Portrait ” . ( If we wanted to sum some other orientations , such as “ face up up , ” we could tap the positive icon to the right of portrayal and convert the If action into a more complex series of coherent doubtfulness – but let ’s not . This is your first Shortcut . )
Now we need to add a Modern action that does what we want when the iPhone is in Portrait mode , namely using the flashlight . To do this , tap inSearch Actionsat the bottom of the screen and typeFlashlight , then tap on theSet Flashlightaction . It will be total at the bottom of the stack of action , belowEnd If . This is too far down ! If we leave it there , it ’ll ferment the flashlight on every single time we launch the crosscut .
Instead , tapdance and hold onTurn torch On(being sure as shooting not to tap justly on the blue tappable function of the action ) and drag it up until it nuzzle mighty under the If blockage . This tells Shortcuts that if Get preference is Portrait , thenturn the Flashlight on .
But is that what we really want ? Sometimes you desire to work the Flashlightoff . So let ’s rap that wordTurnand instead set it toToggle . Now when the Shortcut is run and the equipment is in Portrait orientation , the flashlight will toggle to the opposite of its current state .
Now to add the other action , which runs if the orientation isnotPortrait . It can be anything we want , but for this example allow ’s have it toggle the Do Not Disturb focus way . water tap onSearch Actions , typeFocus , and tap onSet Focus . This will add together a Focus action mechanism – it’ll be mark as “ Turn Do Not stir up Off ” by default – at the very bottom of the mass .
pat onTurnto change it toToggle , which is best . Then tap and drag the integral action up to belowOtherwisein the list . That indicate that this natural action should occur if the If statement ( that the orientation is Portrait ) fail .
At this breaker point , you should have a functional shortcut . essay it out by holding your phone up and tapping the play button in the lower right-hand nook . If you ’ve done it aright , your torch will wrench on . Do it again to turn it off .
Before we delegate this Shortcuts natural action to the Action Button , countenance ’s give it a name . Tap on the carat icon just below the Dynamic Island , then tapRename , and call it something like Action Toggle . Then tapDone .
To designate your Shortcut to the Action Button , openSettings , tapAction Button , and then snarf toShortcut . TapChoose a Shortcutand choose the item you just created .
That ’s it ! examine it out and see how it works . Once you ’ve done this , you could create other cutoff that use unlike information – like the fourth dimension of day , for example – to run different actions at dissimilar times . And of row , you cancombineIf statements , so that the flashlight only fires when you ’re in Portrait orientation at nighttime . The sky ’s the limit .
If you ’re curious about Shortcuts , Apple provides piles of examples in the Gallery tabloid of the app . The great thing about Shortcuts work flow is that they ’re all viewable and editable in the Shortcuts app itself , so if you ’re curious about how a particular work flow does what it does , you could open it and scroll through its actions .
Now , should Apple total some of this basic if - then functionality to the Action Button scope app itself ? Oh , belike . But it did n’t get around to it this declension – and it change by reversal out it did n’t have to , since Shortcuts is always there to make our lives a little morsel easier , as long as we love how to practice it .
Learn 18and theiPhone 16 .