Remove objects from UINavigationController
- by Joshep Freeman
I would like to know if there is a way to know which objects [UIViewControllers?] are stored inside [self navigationController] (I'm guessing they are stored there with pushViewController?), and if there is a way to remove such objects.
Consider this scenario:
1.- Show "Presentation screen" (a logo)
2.- Wait 2 seconds
3.- Push "Data screen" (no need for "Presentation screen" anymore but it's stored in Memory)
Thanks for your time.