User Tools

Site Tools


This is an old revision of the document!

UINavigationController are used when you want to have some sort of hierarchal representation of your data (ie drill down). They work using a stack of UIViewController subclasses. Every time you “drill down”, you simply add another view controller to the stack. Then, the “back” logic is simply a matter of popping view controllers off of a stack.

At the bottom of the stack, there is the rootViewController which get set during initialization and can never be popped off. At the top of the stack, is the current view controller who’s view is being displayed to the user.

ios-labs-s14/basics-navs.1392341385.txt.gz · Last modified: 2014/02/13 19:29 by mbarboi