Ok, I want to keep track of how many times my iPhone app has been launched. I will use this number for the "leader" for our most active user. I figured the code should be in the -DidBecomeActive method, since in iOS4 the application may remain in the background for a while.
Now I know that this is probably trivial, and I just make it harder than necessary, but I canβt let my life determine how to do it! I just want the launch number to increase by 1 every time the application starts or returns from the background.
Any help is appreciated.
source
share