How can I count the time it takes from the moment the user presses the launch button on the home screen until the moment the app is active (for example, until the viewDidAppear
Since you can't get the exact time when the user touches the app's icon on homescreen, I suggest to start your app from another app, so you can get the exact time your app starts.