搜索
您的当前位置:首页正文

iOS 中使用storyboard创建的视图加载到代码中

来源:二三娱乐

跟xib加载差不多

  UIStoryboard*sb = [UIStoryboardstoryboardWithName:storyboard的名字bundle:nil];

  UIViewController * vc = [sb  instantiateInitialViewController];

Top