I have a base UIViewController
I inherit from for some basic content in my app using storyboards.
I instantiate it like this:
BasicContentViewController *targetController = [self.storyboard instantiateViewControllerWithIdentifier:@"ColorCouture"];
[self.navigationController pushFadeViewController:targetController];
OR
BasicContentViewController *targetController = [self.storyboard instantiateViewControllerWithIdentifier:@"Hospitality"];
[self.navigationController pushFadeViewController:targetController];
Is there a way for me to check the Identifier I used to instantiate the UIViewControllers
?
I want to make sure I am not pushing more than 1 of each of these controller onto my UIViewController
stack