logo
  • 教程列表
  • SO官方文档
  • 故事板
    • 初始化
    • 获取初始 ViewController
    • 获取 ViewController
  1. StackOverflow 文档
  2. iOS 教程
  3. 故事板
  4. 初始化

初始化

Created: November-22, 2018

//Swift    
let storyboard = UIStoryboard(name: "Main", bundle: NSBundle.mainBundle()) 

//Objective-c
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
  • 获取初始 ViewController
  • 故事板

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明