I have a problem with launching different views.
I have some kind of a tutorial. Therefore I have set this code in didFinishWithLaunchOptions:
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HasLaunchedOnce"]) {
// Schon mal geöffnen. Kein Tutorial
}
else {
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"HasLaunchedOnce"];
[[NSUserDefaults standardUserDefaults] synchronize];
// Wurde das erste mal geöffnet. Tutorial anzeigen!
}
But I don't really know how to make it actually open the different views now. Couldn't find any documentation on it :(
I just want to open a tutorial viewController if its the first launch and if its not the initial viewController.