Detecting the first launch of an app with previous versions
问题 I would like to update an app to add a tour on first launch. I would ordinarily handle this with some kind of NSUserDefaults key. However, there are pre-existing existing versions of the app already released. How can I trigger some behavior on first launch of the app, but only for fresh installs and not for the first launch after an update? 回答1: you can check app version via web service. and warn users to update the app. And this case, internet connection required. 回答2: On launch, check for