Save the app version string to keychain on app first run.
So you can know which version the user began to use your app, even if they uninstall your app then reinstall it.
Just drag the FirstVersion.h
and FirstVersion.m
files into your project.
And add the following library dependency:
- FXKeychain(https://github.com/nicklockwood/FXKeychain)
To get the first version string, you can call:
[FirstVersion getFirstVersion];