iphone - How can I get any controller in UINavigationController? -


how can controller in uinavigationcontroller? can top controller using property topviewcontroller; how can example top -1 ?

there property of uinavigationcontroller namely "viewcontrollers" work follows:

nsarray *controllers = [navcontroller viewcontrollers]; 

and can access view controller returned array!


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -