Problems implementing a container view

后端 未结 1 1186
时光说笑
时光说笑 2021-01-14 09:01

I\'m trying to follow the View Controller Programming Guide for iOS to implement a container view in my application. At the moment I\'m just trying to get an initial first v

相关标签:
1条回答
  • 2021-01-14 09:28

    If FirstController is part of the storyboard, then you'll have to load it from the storyboard.

    Try doing

    FirstController *firstController = [self.storyboard instantiateViewControllerWithIdentifier:@"yourIdentifier"];

    0 讨论(0)
提交回复
热议问题