http://www.cppblog.com/zhangyuntaoshe/articles/123822.html?opt=admin

1. UIViewController:

重要属性:

view

title

interfaceOrientation

 

tabBarController

tabBarItem

 

navigationController

navigationItem

 

parentViewController

重要方法:

viewDidLoad

viewDidUnload

viewWillAppear

viewWIllDisappear

presentModalViewController

dismissModalViewController

initWithNibName

 

2.UITabBarItem:

重要方法:

- (id)initWithTabBarSystemItem:(UITabBarSystemItem)systemItem tag:(NSInteger)tag

- (id)initWithTitle:(NSString *)title image:(UIImage *)image tag:(NSInteger)tag

 

3. UITabBarController:

重要属性:

delegate

 

viewControllers

selectedIndex

selectedViewController

重要方法:

setViewControllers

代理:

UITabBarControllerDelegate:

tabBarController:didSelectViewController:

tabBarController:shouldSelectViewController:

 

4. UINavigationController

重要属性:

delegate

navigationBar

 

viewControllers

topViewController

visibleViewController

重要方法:

initWithRootViewController

 

pushViewController

popViewController

 

popToViewController

popToRootViewController

 

setViewControllers

代理:

UINavigationControllerDelegate:

navigationController:didShowViewController:animated: