Clear user own apps data programmatically

后端 未结 2 1250
孤独总比滥情好
孤独总比滥情好 2021-01-11 09:36

I am developing an app where I want to allow the user to be able to set up that if they fail the login after a couple of attempts into the app, it will automatically delete

2条回答
  •  天命终不由人
    2021-01-11 10:17

    Is there a simple way to do this or do I have to write code to manually reset everything the app uses.

    You have to write code to manually reset everything the app uses. This should just be a matter of deleting a handful of files. Make sure your database is closed before you try deleting it.

提交回复
热议问题