Find out how to create a simple automation without using third-party tools that will take a picture of the thief and send their location to you in case you lose your iPhone or iPad.
A few weeks back, I came across a viral post on X that talked about an iOS automation to do the thing described above. It wasn’t very well explained, so I decided to turn it into a proper tutorial so even beginners and less tech-savvy people can do this.
How this works
It’s simple!
- You’ll create a shortcut that takes a photo with the front camera and automatically sends it to a number of your choosing. It also records the location name and sends it in a second message.
- Then, you’ll automate this shortcut to run when you text a specific word like ‘Lost.’
- As a result, if your iPhone is stolen, you can message the word ‘Lost’ to your mobile number or iMessage account, and the shortcut will run remotely.
One more thing: If you’re in the mood for some harmless iPhone pranks, you can also use the steps in this article to automatically take (unprepared) pictures of your spouse or friend and receive them on your iPhone. They won’t even know you did this (though they will hear the camera shutter and message-sent tones, but with no visual confirmation)!
Conditions for this setup to work and some fixes
1) The thief must not have powered off your iPhone.
- Unfortunately, unlike many Android phones, iOS doesn’t yet let you prevent your iPhone from powering off without the passcode.
2) Your iPhone must have cellular or Wi-Fi connectivity after it has been stolen.
- You can go to iOS Settings > Face ID & Passcode and disable Control Center and Siri when the iPhone is locked. This way, the thief won’t be able to turn off Wi-Fi and cellular data or activate Airplane mode.
- Plus, if you have an eSIM, the thief can’t just remove it to kill cellular connectivity.
3) You hope that bugs and iOS system glitches don’t prevent the automation from running.
- Restart your iPhone every few days and keep it up to date with software updates to ensure optimal performance.
One thing you should know about: As mentioned earlier, the shortcut will also text you the thief’s location. Now, if you have Find My enabled on your iPhone, you can already get precise location updates using that. So, getting the location via text may not be very useful. Still, if you have Find My turned off or just want an extra option (for times when Find My may not work), you can add the location feature to your shortcut.
With basics out of the way, here’s how to have your iPhone automatically text you the thief’s photo and location.
Build the anti-thief iOS shortcut
1) Open the built-in Apple Shortcuts app on your iPhone and tap the plus icon in the Library tab to create a new shortcut.
2) Use the Search Actions box to find and add the Take Photo feature to your build.
3) Tap “Back” and set it to Front so your stolen iPhone can capture the thief’s face. Now, tap the little arrow icon and turn off Show Camera Preview, so the thief doesn’t get a visual clue of what photo was taken.
4) Next, search for and add the Send Message action to your build.
5) Tap “Recipients” placeholder text and add one or more phone numbers belonging to you, family, or trusted friends. The photo and location of the thief will be sent to these numbers. If more than one number is added, it will be sent in a group chat.
6) Then, tap the little arrow icon and make sure Show Compose Sheet is turned off.
Note: If you also want to get the thief’s location, continue with steps 7 to 9. But if getting their photo is enough, jump to step 10.
7) Search and add the Get Current Location action to your shortcut build. If the Shortcuts app does not have access to your location, tap Allow Access > Allow While Using App.
8) Tap the arrow icon and set the precision to Best or Nearest Ten Meters. The default is Nearest Hundred Meters, which can be a bit much.
9) Add the Send Message action again and replace “Recipients” with actual recipients as you did in step 5 above. Also, make sure Show Compose Sheet is off.
10) Tap the current shortcut name at the top, and rename it to something else, like Anti Theft or Thief Catcher. Then, move to the automation part below.
Automate to run the shortcut remotely
With the thief-catcher shortcut built, it’s time to ensure it can run remotely after your iPhone is stolen. Here’s how to do that:
1) Open the same Apple Shortcuts app, go to the Automation tab, and tap New Automation or the plus button.
2) You’ll now see various ways to run an automation. Among these, the Message one is the most logical. So, I will use that and recommend you do the same.
3) After selecting Message, leave Sender as Any Sender. This will ensure you can run this shortcut even by texting your iPhone from an unknown number.
4) Then, tap “Choose” next to Message Contains and add a word or phrase. This automation will run only when the message you send contains that specific phrase. To keep things simple, you can just add the word ‘lost’ here. But then, if a friend texts you something like ‘Hey man, I’m lost. I don’t know what to do next in my life,’ this automation will trigger. So, you can set a unique or irregular word. I have opted for ‘MyPreciousiPhone’ without spaces. There is nearly zero possibility someone will text me this. But I can use this word to trigger the thief catcher automation and shortcut.
5) Select Run Immediately, so the automation runs without confirmation. Then, tap Next.
6) Select the Thief Catcher shortcut you built, and you’re done!
Test everything
With the shortcut built and automation created, lock your iPhone or iPad and text the word (like MyPreciousiPhone) you set in step 4 above.
You’ll find that your iPhone or iPad automatically takes a photo and sends it to you. It will then also fetch the current location and send it in a second message.
Just remember that you won’t necessarily receive the thief’s photo and location on the number you send the text from to run the automation. Instead, these details will be sent to one or more numbers you added when creating the shortcut (steps 5 and 9 in the shortcut-building section above).
Let us know what you think of this setup. If you have tips to improve this, please leave them in the comments below.
Also, check out: