把Storyboard减轻的方法

把Storyboard减轻的方法

by 伍雪颖

UIViewController *secondStoryboard = [[UIStoryboard storyboardWithName:@"secondStoryboard" bundle:nil] instantiateInitialViewController];
[self.navigationController pushViewController:secondStoryboard animated:YES];

把一个storyboard分成几个模块的storyboard,太有用了
posted @ 2016-03-02 10:32  lcchuguo  阅读(124)  评论(0编辑  收藏  举报