storyboard中文 storyboard( 二 )


接着,在你需要使用它的函数里,如下:
-(void)presentTimelineViewController:(BOOL)animated
{
UIStoryboard*storyboard = [UIStoryboardstoryboardWithName:@"MainStoryboard"bundle:nil];
TopicTableViewController*topicViewController = [storyboardinstantiateViewControllerWithIdentifier:@"TopicTableViewController"];
。。。
【storyboard中文 storyboard】[self.navigationControllerpushViewController:topicViewControlleranimated:animated];

秒懂生活扩展阅读