解决方法
获取像Inferis / ViewDeck这样的自定义组件并以编程方式实现包含:
@interface YourViewController : IIViewDeckController @end
执行:
@implementation YourViewController -(void)awakeFromNib { UIStoryboard* storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle:nil]; self.centerController = [storyboard instantiateViewControllerWithIdentifier:@"CenterViewController"]; self.leftController = [storyboard instantiateViewControllerWithIdentifier:@"LeftViewController"]; } @end