新建一个single view app

在视图窗口拖住一个Navigation Controller,默认的Navigation Controller 是自动关联Table View的,如果不需要,可以把自动添加的Table View 删除 ,新建一个View Controller 关联Navigation Controller即可。(右键从Nav拖向view,选择rootview)

常用属性介绍

navigation bar

Style 风格

Translucent 背景,一般把背景去掉

Bar Tint 背景色

Back Image 背景图片

TiTle Color 标题颜色

Tint 返回标题颜色