Swift开发 指定storyboard自定义导航器转场

2017-10-22  本文已影响0人  iOSDeveloper

letstoryboard =UIStoryboard(name:"Main", bundle:nil)

letnewVC = storyboard.instantiateViewController(withIdentifier:"UserInfoView")as!UserLoginViewController

newVC.leftBtnflag=false

self.navigationController?.pushViewController(newVC, animated:true)

上一篇下一篇

猜你喜欢

热点阅读