标签: ios titanium appcelerator appcelerator-titanium
我在Iphone X上测试了我的应用程序,屏幕看起来很小(顶部和底部有两个黑色空间),如此[图片]所示,我该如何修复此错误?
答案 0 :(得分:3)
您没有为iPhone X分辨率添加启动画面,这是iPhone X在iPhone X上全屏工作所必需的。
此外,您需要使用TiSDK 6.3或更高版本。
您可以在此处查看您需要的文件:http://docs.appcelerator.com/platform/latest/#!/guide/Icons_and_Splash_Screens-section-src-29004897_IconsandSplashScreens-iOSgraphicassetrequirementsandoptions
但我建议使用故事板作为启动画面,这将为您调整一切,并且将来也会更灵活。你可以在这里看到:http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Launch_Files