I am about to display my slideout view controller, but I want to display controller at index 3 if the user has never used the app before. Before i present the navigation controller, I tried using this method:
- (void)switchToControllerTagged:(int)tag andPerformSelector:(SEL)selector withObject:(id)obj
so my code looked like this
// initiate controllers
[slideoutController switchToControllerTagged:3 andPerformSelector:nil withObject:nil];
[self.navigationController pushViewController:slideoutController animated:YES];
I am about to display my slideout view controller, but I want to display controller at index 3 if the user has never used the app before. Before i present the navigation controller, I tried using this method:
so my code looked like this
// initiate controllers
[slideoutController switchToControllerTagged:3 andPerformSelector:nil withObject:nil];
[self.navigationController pushViewController:slideoutController animated:YES];