Creating a Toggle Shortcut

Forum
iOS and iPadOS

Hello all,

I have created a shortcut to turn off cellular, wifi and bluetooth on my IOS device using the Shortcut app and have assigned a Voiceover gesture for it. Now I want to make it a toggle rather than creating another shortcut to turn all these on. I can see the option to edit operation to toggle in the case of bluetooth and cellular, but with wifi only options I find is to chose between on and off. But surely if operation toggle option Is available for bluetooth it should also be there for wifi? Anyway I can make this work?

Thanks in anticipation.

Options

Comments

Submitted by Yvonnezed on Thursday, June 24, 2021

A quick search through the Reddit Shortcuts group gave me this
https://www.icloud.com/shortcuts/effc11ffda25484d80dd001b9c54b88e

Obviously, you have to allow untrusted shortcuts to install it.

The basic idea is, check what network you're on. If there's a network, toggle wifi off. If there isn't, toggle it on.

This one's a bit more complicated because it's trying to get around the fact that if you have wifi on but you're *not* connected to a network, the basic version won't toggle it.

Anyway, I don't have time to test it at the moment, but see how you go.

Submitted by zeirus-fr on Thursday, June 24, 2021

A very difficult to open the control panel on IOs.
Creating for creating to be created for creaters.
I apologize but I don't understand creating switches on switches.
I'm sorry I'm a stupid.

Cheers!