我在 Iphone X 上测试了我的应用程序,屏幕看起来很小(顶部和底部有两个黑色空间),如这张 [图片] 所示,我该如何修复这个错误?
您没有为 iPhone X 分辨率添加启动画面,这是在 iPhone X 上全屏工作所必需的。
此外,您需要使用 TiSDK 6.3 或更高版本。
但我建议改用 Storyboard作为启动屏幕,它会为您调整所有内容的大小,而且将来也会更加灵活。你可以在这里看到:http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Launch_Files
2020 年编辑:从 iOS 2020 年 4 月开始,Apple 现在强制要求 launchsreen Storyboard。启动画面不再是一种选择
关于ios - Appcelerator - 屏幕在 Iphone x 上显得很小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48522101/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) | Powered by Discuz! X3.4 |