Swift 页面跳转

let storyboard : UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
        let vc = storyboard.instantiateViewControllerWithIdentifier("ViewController")     as UIViewController
        self.presentViewController(vc, animated: true, completion: nil)

 

posted @ 2014-09-25 15:10  zhuyh  阅读(577)  评论(0编辑  收藏  举报