iPhone shortcut to turn location services ON/OFF

Considering the use of 'Shortcuts' app in iOS, is there a way to quickly get a shortcut to turn location services ON and OFF rather than poking through the menus in settings?


Solution 1:

Another thing you can do as of now is open the Location Services settings menu from Shortcuts by using an "Open URL" action.

enter image description here

Solution 2:

You can ask Siri to turn it on or off:

Turn off Location Services in Siri