swift中storyborad跳转
by 伍雪颖
- let identifier = "viewController"
- let storyboard = UIStoryboard(name: identifier,bundle: nil)
- let controller = storyboard.instantiateViewControllerWithIdentifier(identifier)
- as UIViewController!
- self.navigationController?.pushViewController(controller,animated: true)