let vc:UIViewController=self.storyboard?.instantiateViewControllerWithIdentifier("view name") as!UIViewController
//先隐藏回退按钮,然后push 否则无效
vc.navigationItem.hidesBackButton=true
self.navigationController?.pushViewController(vc,animated:true)
let vc:UIViewController=self.storyboard?.instantiateViewControllerWithIdentifier("view name") as!UIViewController
//先隐藏回退按钮,然后push 否则无效
vc.navigationItem.hidesBackButton=true
self.navigationController?.pushViewController(vc,animated:true)