Remove objects from UINavigationController

Posted by Joshep Freeman on Stack Overflow See other posts from Stack Overflow or by Joshep Freeman
Published on 2010-03-24T18:58:42Z Indexed on 2010/03/24 21:53 UTC
Read the original article Hit count: 240

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.

© Stack Overflow or respective owner

Related posts about uinavigationcontroller

Related posts about pushviewcontroller