ios - Detect if app was fresh installed or updated -


i need way detect if user install app fresh, or after update.
catch here version 1 of app on app store, cant rely on user default flag.
i'm working on version 2, , want detect on app launch, if version 1 installed or not.
ideas?

if didn't make provisions (app defaults etc), there no other standard/default way of knowing if previous version installed .

however, can still find way detect if previous version installed based on whether in previous version

  1. created folder/file in app documents/cache directory or
  2. created sqlite db or
  3. sent uuid a server or
  4. any other code/feature can checked 'if exists' code on app launch

if can't.. there no other way.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -