1. nib文件
@IBAction func nextBtnClicked(sender: AnyObject) {
let vc = MyViewController(nibName: "MyViewController",bundle: nil)
vc.labelContent = input.text
self.presentModalViewController(vc,animated: true)
}
2.
self.performSegueWithIdentifier("logined",sender: self)
原文链接:https://www.f2er.com/swift/326741.html