Is there a way to programmatically uninstall my own iOS app?

Is there any way in the iOS SDK to uninstall the application?

I am looking for the following behavior:

  • If the user cannot enter the correct password for login (5 times)
  • The application deletes all user data and removes itself from the iPhone.

I understand how to delete all user data. I am just asking if the application can also be uninstalled.

+4
source share
3 answers

No, only the user (or iTunes or Xcode Organizer) can remove applications from the device.

+4
source

Not at all. All that your application can do is delete its user data and abandon other actions. Removing it from the system is entirely up to the user.

+3
source

No, It is Immpossible. However, I do not know about jailbroken devices.

0
source

Source: https://habr.com/ru/post/1402747/


All Articles