•导航栏的内容由栈顶控制器的navigationItem属性决定
•
•UINavigationItem有以下属性影响着导航栏的内容
Ø左上角的返回按钮
@property(nonatomic,retain) UIBarButtonItem *backBarButtonItem;
Ø中间的标题视图
@property(nonatomic,retain) UIView *titleView;
Ø中间的标题文字
@property(nonatomic,copy) NSString *title;
Ø左上角的视图
@property(nonatomic,retain) UIBarButtonItem *leftBarButtonItem;
ØUIBarButtonItem *rightBarButtonItem 右上角的视图
@property(nonatomic,retain) UIBarButtonItem *rightBarButtonItem;