我正在使用此代码显示启动画面,但我看到的唯一内容是黑色。
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPad" bundle:nil];
SplashViewController *splash = [storyBoard instantiateViewControllerWithIdentifier:@"splash"];
splash.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
splash.modalPresentationStyle = UIModalPresentationFullScreen;
[self.window addSubview:splash.view];
启动画面的视图控制器正在加载,因为正在调用断点,但我看不到视图控制器,我只看到黑色。