-
I see many anti-theft apps already released in the App Store that have a feature to immediately play a loud sound when the charger gets unplugged.
-
I can't find an API to make it work if the app is backgrounded, which is the main point.
How can I achieve this?