Reputation: 43
I tried looking for this for some time with no luck yet, I'm trying to build a security app where I need to know when the phone is going to shutdown or the user enters the wrong passcode at the lock screen.
I know apps like Prey, and older apps like iGotYa, would snap a picture using the front facing camera when the user enters the wrong pass on the lock screen. I was looking to do something similar with my app, is this something that requires special access from apple? or is this available to everyday developer? If thats the case, how would approach this problem or where could I find this information?
Thank you in advanced!!!
Upvotes: 0
Views: 133
Reputation: 20526
Due to security reasons Apple doesn't give this level of access to the device. Apple limits the APIs and features applications can take advantage of to protect users and keep devices secure.
There might be a way to do this using some form of jailbreak but nothing that Apple would support officially.
Edit great additional point made in the comments. Every app is forced to operate in its own "sandbox", so it can only access things within that applications domain. There are certain cases which applications are allowed to interact with the OS itself through extensions. But these are very limited and highly controlled by Apple.
Upvotes: 3