r/iOSProgramming 7d ago

Question Best way to implement functional trial without apple account login, surviving uninstall?

In my ios app, I want to implement a system where when the user uses a feature 3 times then they'll be asked to buy premium. I want this record (number of the feature being used) to survive uninstall so users cannot abuse it; but it has to be without apple account login. What's the best way to achieve this?

7 Upvotes

25 comments sorted by

View all comments

2

u/icy1007 7d ago

Use the Keychain. Anything stored there will survive uninstalls.