标签:
let storyBoard:UIStoryboard! = UIStoryboard(name: "Main", bundle: nil)
let deskVC:DeskViewController! = storyboard!.instantiateViewControllerWithIdentifier("DeskViewController") as DeskViewController
self.navigationController?.pushViewController(deskVC, animated: true)
swift 加载 storyboard 里的UIViewController
标签:
原文地址:http://www.cnblogs.com/shidaying/p/4329184.html