If A View starts , then this:
- (void)viewDidLoad {}
If the application starts , this is:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:
or
- (void)applicationWillEnterForeground:(UIApplication *)application {
I think you better use the ViewDidLoad method .
I hope I helped!
source
share