Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Can’t they just make any of the buttons action buttons now ? I would change the power button on the right to the action button. And the actual action button as the power button. Problem solved.
 
  • Like
Reactions: Kramerjn
how does this work...

is it like creating a dictionary or a Json file or something else (neither of which I have worked with in shortcuts so anything will be a hurdle for me)
Several ways I’ve been through:

  • Create files in iCloud with specific names to act act as flags. For example isConnectedToCarBT, isConnectedToHomeWiFi. Create and delete these files in shortcuts/automations as required. Checks for these files in other shortcuts
  • Create a single file and change the content based on an automation. So a file called isConnectedToCarBT either contains True or False, with this value being set by an automation. Check the contents of this file in other shortcuts.
  • Use the excellent Data Jar app to persist the data to iCloud, as shown in the attached screenshots. The shortcut is an automation fired on sunrise:
 

Attachments

  • IMG_147.JPEG
    IMG_147.JPEG
    152 KB · Views: 68
  • IMG_0148.jpeg
    IMG_0148.jpeg
    317.1 KB · Views: 75
I set it up so that if the device is locked, it toggles the ringer, and if it is unlocked, it verifies that I am on my street and locks/unlocks my front door. If I am not on my street, it sends me a notification that I am too far from home to run the shortcut.

What are you checking to determine if your phone is locked? Screen brightness?
 
It seems pretty unlikely to get accidental presses. It’s a nice solid button, and you have to hold it for a second to initiate an action. Not impossible, but unlikely.
I have dozens of pics I've accidentally taken while putting my phone in my back pocket. It's really easy to hover over the button while doing that. There should be the ability to make it a real button as opposed to the haptic button it is now.
 
Several ways I’ve been through:

  • Create files in iCloud with specific names to act act as flags. For example isConnectedToCarBT, isConnectedToHomeWiFi. Create and delete these files in shortcuts/automations as required. Checks for these files in other shortcuts
  • Create a single file and change the content based on an automation. So a file called isConnectedToCarBT either contains True or False, with this value being set by an automation. Check the contents of this file in other shortcuts.
  • Use the excellent Data Jar app to persist the data to iCloud, as shown in the attached screenshots. The shortcut is an automation fired on sunrise:

Thank you for the reply...still very confusing and maybe why I went from design to coding and back to design....

is something like this faster than just checking if it is after Sunrise...or if connected to car Bluetooth? I suppose to get an automation to check if after Sunrise you'd need to check weather conditions at current location, then get the data from there. but then wouldn't the iCloud File also need to do that and theoretically at a similar time the automation is run...cant check the sunrise status at 3am each morning while nothing is being done as it wont have any relation when you'd want that info later?

****and I am pretty much a buffoon with shortcuts/automations. I am currently struggling to have a light turn on at sunset UNLESS it is less set between 1-10% brightness (movie setting) and no matter what it keeps turning on.
 
Thank you for the reply...still very confusing and maybe why I went from design to coding and back to design....

is something like this faster than just checking if it is after Sunrise...or if connected to car Bluetooth? I suppose to get an automation to check if after Sunrise you'd need to check weather conditions at current location, then get the data from there. but then wouldn't the iCloud File also need to do that and theoretically at a similar time the automation is run...cant check the sunrise status at 3am each morning while nothing is being done as it wont have any relation when you'd want that info later?

****and I am pretty much a buffoon with shortcuts/automations. I am currently struggling to have a light turn on at sunset UNLESS it is less set between 1-10% brightness (movie setting) and no matter what it keeps turning on.

Sunrise is a pain because it’s always before sunrise…. the next sunrise, be it the one that’s going to happen the same day, or the next day. You then have to check the date and match that. But then if you’re interested in “if it’s dark” or not then 23:59 and 00:01 are on different dates but still dark. Just setting a flag in Automations when it’s sunrise and sunset is much easier IMO.

Same for after sunrise … it’s never after sunrise because as soon as sunrise happens, sunrise ticks over to the next one, so you’re never after it :)

With Bluetooth, all you can do is turn Bluetooth on and off… you cannot determine what device or devices you’re connected to. That’s why I have an automation that triggers when I connect to my car Bluetooth, and sets the flag.

Does that make sense?
 
  • Like
Reactions: BJMRamage
First touch screens got rid of (almost) all the buttons.

If the action button becomes a hit, people will want a second one... and then a third one.

We're slowly coming full circle.
It’s just a button, wtf? What’s different from the other buttons???
 
  • Like
Reactions: R2DHue
I'm happy with a shortcut menu I created. When I long press the Action button I get a text menu that looks something like this (with explanations in parens):

Actions:
Camera (go to Camera - photo mode)
Silence (toggle ringer on/off)
Flashlight (toggle flashlight on/off)
Magnifier (go to Magnifier)
Voice (go to Voice Recorder)
Files... (bring up a sub-menu of important documents to view, e.g. driver's license, insurance, passport, Covid card, etc.)

It's all in a single shortcut I called "Action Button".

The action is "Choose from Menu". Each menu item gets a simple action to invoke, with "Files..." getting a sub-menu (using the same "Choose from Menu" action).

The "Files..." menu items invoke "Open File" with various documents chosen from folders in the Files app.

Hope that's useful.
I just took your advice and created a menu based Action Button shortcut. I think that’s the best option, but not just to recreate functions from the Control Centre, rather shortcuts that are not easy to get to, like my Nighttime Relaxation shortcut and my Time the Bath shortcut. It’s a great time saver. I’m also going to create a bunch of shortcuts for controlling smart devices I use a lot, like certain lights, or sets of lights, or the fountain, or radiators. Yessss gooooddd, this will work well
 
Has it ever been determined definitively that leaving your iPhone charging after it’s at 100% zaps battery longevity?

This is a well-researched and well known problem with Lithium ion batteries. Keeping a Lithium Cobalt Battery at 100% charge depletes the longevity over time, increases the chance of dendrite formation (which can short the battery) and battery expansion or 'pillowing'.

It was explained to me by a guy that designs EV battery chargers as creating uneven 'pressure' (for lack of a better term between the graphite and lithium layers which speeds the degradation of the internal structures.

Capping the charge at 80% increases the longevity, which is why Apple introduced the optimized charging, and the hard 80% limit. I just want a little bit easier manual control over it because my schedule is irregular enough that optimized charging only offers benefit for charging at night.

Mostly I want to cap charging to 80% when I've got my phone plugged into my laptop to transfer data, when I'm driving long distances, or on a long-haul flight. Outside of those 3 instances, i don't really care.

My gripe is that it is a function in settings, so it should be available as a shortcut. It isn't.
 
  • Like
Reactions: R2DHue
This is a well-researched and well known problem with Lithium ion batteries. Keeping a Lithium Cobalt Battery at 100% charge depletes the longevity over time, increases the chance of dendrite formation (which can short the battery) and battery expansion or 'pillowing'.

It was explained to me by a guy that designs EV battery chargers as creating uneven 'pressure' (for lack of a better term between the graphite and lithium layers which speeds the degradation of the internal structures.

Capping the charge at 80% increases the longevity, which is why Apple introduced the optimized charging, and the hard 80% limit. I just want a little bit easier manual control over it because my schedule is irregular enough that optimized charging only offers benefit for charging at night.

Mostly I want to cap charging to 80% when I've got my phone plugged into my laptop to transfer data, when I'm driving long distances, or on a long-haul flight. Outside of those 3 instances, i don't really care.

My gripe is that it is a function in settings, so it should be available as a shortcut. It isn't.

Just curious…

Why 80%?

Why not 90 or 95? Or the ability set it to stop itself from further charging at 99%? (Permanentlynever 100%, if you wanted…)

I’ve read that 80% is when you’ve perhaps plugged it in, went to bed, and it was already at 80% an hour after you’ve been asleep.

Then, before you wake up (based on Machine Learning), it finishes the remaining 20%.

Do I have that about right?
 
Just curious…

Why 80%?

Why not 90 or 95? Or the ability set it to stop itself from further charging at 99%? (Permanentlynever 100%, if you wanted…)

I’ve read that 80% is when you’ve perhaps plugged it in, went to bed, and it was already at 80% an hour after you’ve been asleep.

Then, before you wake up (based on Machine Learning), it finishes the remaining 20%.

Do I have that about right?

That is how optimised charging works. Stays at 80% until just before you wake up (based on your alarm time etc)

80% seems to be the best trade off for holding a charge without putting too much stress on the battery. I was told the ideal charge is 50% because the charge is balanced between the graphite and lithium parts of the battery.

But given that we know 100% for extended periods increases degradation, and apple have a software hard limit at 80% which the user can control, I want to be able to make that a shortcut and use my action button exclusively for that purpose.
 
I like the Action button, but just can't get on board with that configuration screen. It's just so out of place compared to every other setting screen. I hope it doesn't foreshadow a major redesign they have planned for future IOS versions.
Definitely overkill, and all those images and videos are there taking space for that… I thought it was going to be only once at first setup, then just be a normal settings screen with toggles and dropdown options lists later on when accessed from settings.

I don’t know the details, but if it is brute forced with a series videos, that means:
  • Every new option or setting changes for the action button would need the whole thing revamped with a new glow color, new icon, etc animation
  • When the iPhone 16 (and Pro) comes out, iOS 18 will need to have all those videos (or however it’s done) duplicated for each iPhone model that comes with a customizable action button in the future (unless they don’t care, but knowing Apple, they pay attention to these types of form over function)
Definitely over engineered compared to a simpler settings options page.
 
It’s just a button, wtf? What’s different from the other buttons???

Haha you missed the sarcasm in my post :)

But to your question, just about all buttons on any device usually have a pre-defined action or actions.

Apple's action button gives the user a hardware button he can program to trigger whatever action he wants. That can potentially be quite powerful, but time will tell what the uptake of this is with users.
 
I added nested ‘Choose from Menu’ shortcut actions, so I could get quick access to all my most used shortcuts, and create remote controls for my fan and diffuser. It’s a game changer for me (I use a lot of shortcuts)!! Any suggestions for improving the UI?

 
Does anyone know of an app shortcut you can install that detects the brightness of the light sensor on the iPhone? I'd love to have it turn on the flashlight if it's dark. I have one that toggles mute if it's in my pocket, and opens the camera if I'm using it. I think I got it from Daring Fireball.

I will have to incorporate the double tap into this action: flashlight when held, audio recording when in pocket. Sneaky. So far the action button hasn't been very useful without double tap, so I'm excited to try this.

And yes I live in a one party consent state and I'm tired of people saying one thing and doing another and then pretending like they don't know what I'm talking about!
I wrote a shortcut to turn on the flashlight if it is dark, or open the camera if it is light.

It makes sense for my needs since if it's light out I don't need the flashlight and if it is dark I don't generally take pictures. There are exceptions of course.

The shortcut checks to see if the current time is between sunrise and sunset, and if YES, open camera, otherwise open flashlight.

It may break during twilight, dusk, dawn but I could not figure out a way to read the phone's light sensor and this generally works.
 
Last edited:
IMO a shortcut for a few options is almost meaningless for a quicker response.
if i need the camera it's quicker to press the lockscreen button than using the action+shortcut menu.
only when they make it more efficient with 2-click option and long press, it will have any real effect.
as a camera guy the quickest option is still setting it as camera while all the rest are less response dependent.
 
IMO a shortcut for a few options is almost meaningless for a quicker response.
if i need the camera it's quicker to press the lockscreen button than using the action+shortcut menu.
only when they make it more efficient with 2-click option and long press, it will have any real effect.
as a camera guy the quickest option is still setting it as camera while all the rest are less response dependent.
I do find the action button useful and quicker when the phone is open and I have multiple screens to swipe through to get to the camera icon, or have to swipe down from the top to get the camera icon. YMMV.
 
I do find the action button useful and quicker when the phone is open and I have multiple screens to swipe through to get to the camera icon, or have to swipe down from the top to get the camera icon. YMMV.
ok that's the same point as mine as to have it only on camera without all these shortcut solutions
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.