How can I get all the ViewControllers of my application at runtime? As far as I know self.navigationcontroller.viewControllers
returns the NSArray of only those con
AFAIK there is no such way unless you take care your self of it. You could have access to all navigation controllers but they will only hold currently initialised controllers in the stack. There is always controllers possible that are not in any navi, for example, modal view controllers. I would say you are doing something wrong if you need this :)
Perhaps the only way to do this is to hold them all in array that you are fully controlling.