摘要: iOS5中用storyboard,在AppDelegate中获得ViewController对象的方法记录:1 UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle: nil];2 self.viewController = (ViewController* )[mainStoryboard instantiateViewControllerWithIdentifier: @"LoginViewController"] 阅读全文
posted @ 2012-12-23 16:10 阿兹猫 阅读(144) 评论(0) 推荐(0) 编辑