![]() ![]() You can write complex functions with iOS Shortcuts. Here I can literally POST (like Curl, but on your iPhone!) to an endpoint and pass in a FORM and parse the resulting JSON. Like many connected cars, my car has a kind of REST API that its app uses to do things like heat up the climate system. Try it.Īt this point you may be thinking, um, OK, that's cute, but where's the learn to code revolution here? It's not that open-ended of a system, what can I really do? The "Adjust Date" action pops up a Date and is used as a Diff(erence) against the "Current Date" action, then used again in the Add New Reminder as an input to "Add New Reminder." These contextual variables flow through and are easily accessible in this genius UI. You can build and extend workflows like this and the data from one flows through to the next one. It's a very classic "take input and do a thing" program. Take a look at the Laundry Timer app here. You could then record a Siri shortcut and just say "Hey Siri, I'm being pulled over" and all this happens automatically, hands free. Once you stop the recording it sends a copy of the video to a contact you specify, puts volume and brightness back to where they were, turns off Do Not Disturb, and gives you the option to send to iCloud Drive or Dropbox! It then opens your front camera and starts a video recording so you have a video record of being pulled over. It pauses any music that may be playing, turns down your brightness and volume, turns on Do Not Disturb, and sends a message to the contact of your choosing letting them know you’re being pulled over and what your current location is. This is a complete development environment on your phone.įor example, here's a incredibly intricate and powerful Shortcut if one is pulled over by the police. It would be reasonable to think this was a simple macro system with a few basic building blocks, but I don't think Apple's team gets enough credit. Once you have a shortcut you can invoke it as an item/icon on your springboard/home screen, you can have Siri run it with your voice, or invoke it via a "share sheet" that is available in all apps. Here's a few links to Shortcuts that (assuming you are reading this from your iPhone) you can add to your library with a click! You can then name them and invoke your Shortcuts with Siri. There's a rich and growing gallery of shortcuts that you can copy into your local (to your phone) library. Shortcuts let you string together Actions (ahem, functions) into multi-step tasks (ahem, functions that call functions). I would go even further and say it could be a great place to learn to code!Īpple Shortcuts on iPhone is a lot like Microsoft Flow, except for your phone. In fact, you should use it and explore it as it's amazing. ![]() Apple Shortcuts (free on the App Store) is extraordinary and you shouldn't sleep on it. ![]()
0 Comments
Leave a Reply. |