Is there any way within the iOS SDK for an app to delete itself?
I’m seeking the following behavior:
- If a user fails to enter the correct password to log in (5 times)
- The app deletes all user data AND deletes itself from the iPhone.
I understand how to delete all user data. I’m just asking if it’s possible to delete the app as well.
No, only the user (or iTunes, or Xcode’s Organizer) can remove applications from the device.