获取任意一个storyboard的视图控制器的方法

来源:互联网 发布:linux中反引号的作用 编辑:程序博客网 时间:2024/05/24 22:45

    UIStoryboard *storyboard = [UIStoryboardstoryboardWithName:@"Main"bundle:nil];

    UIViewController* controller = [storyboardinstantiateViewControllerWithIdentifier:identifier];

0 0
原创粉丝点击