UNITY|UNITY 2017.3.0f3 导出iOS BUG
UNITY 2017.3.0f3 导出iOS BUG
错误信息描述
Uncaught exception: NSInvalidArgumentException: Storyboard () doesn't contain a view controller with identifier 'unitySplashStoryboard'
【UNITY|UNITY 2017.3.0f3 导出iOS BUG】修改修SplashScreen.m
void ShowSplashScreen(UIWindow* window)
{
//bool hasStoryboard = [[NSBundle mainBundle] pathForResource: @"LaunchScreen" ofType: @"storyboardc"] != nullptr;
//
//if (hasStoryboard)
//{
//UIStoryboard *storyboard = [UIStoryboard storyboardWithName: @"LaunchScreen" bundle: [NSBundle mainBundle]];
//_controller = [storyboard instantiateViewControllerWithIdentifier: @"unitySplashStoryboard"];
//}
//else
_controller = [[SplashScreenController alloc] init];
[_controller create: window];
//[window makeKeyAndVisible];
}
文章图片
2191515404834_.pic_hd.jpg
推荐阅读
- Unity和Android通信系列文章2——扩展UnityPlayerActivity
- unity探究UGUI的Image中sprite和overrideSprite的区别
- unity|unity 在iOS平台跳转appstore
- javascript|vue使用js-xlsx导出excel,可修改格子样式,例如背景颜色、字体大小、列宽等
- vue|vue js-xlsx导入导出excel文件Demo
- OpenCV|OpenCV for Unity 通过WebCamTextureToMatHelper帮助类来获取摄像头的画面
- Unity中使用反射机制调用函数
- Unity|Unity 对象池
- Windows平台使用bat脚本导出日志
- jquery导出excel、pdf等[tableExport简单使用]