how to determine in how to determine in UIApplicationDidBecomeActiveNotification whether it is the initial app launch?whether it is the initial app launch?
that is the i
I used to use the method mentioned by @XJones. Then I realized it has a potential issue: if "the initial app launch" means to check in applicationDidBecomeActive whether it was called the first time since the app was launched! Because when app was relaunching the app (either through springboard, app switching or URL) all the above 3 delegate method will be called! So the safest way is to reset self.activatedFromBackground in applicationDidBecomeActive.