收藏 swift2 页面跳转

做好链接。将一个storyboard,拖动到你需要跳转的另一个storyboard。使用mode模式,链接identifier名为“index”

self.performSegueWithIdentifier(“index”, sender: self)

http://www.woowen.com/swift/2014/10/04/swift%20条件判断页面跳转/

发表评论

电子邮件地址不会被公开。 必填项已用*标注