调试模式下和测试飞行部署后的不同应用程序显示分辨率
Different app display resolution in debug mode and after deployment on test flight
完成一个应用程序后,我想通过试飞来测试它。我将应用程序部署到 iTunes,在测试设备上安装应用程序后,应用程序中的一切似乎都是 "big" 。更详细:
我调试到 iPhone 6s 和 5s,一切正常
我将应用程序部署到 iTunes 并在两个不同的 iPhone 6s 上进行测试分辨率似乎很低
使用相同的部署,5s 的分辨率非常好。
看看这些图片:
你有什么想法吗?
确保 iPhone 6 秒的启动图像分辨率正确。
iPhone 6s (Retina HD 4.7) 需要 750 x 1334 的纵向启动图像。
参考文献:
https://www.apple.com/iphone-6s/specs/
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/launch-screen/
您添加了什么类型的闪屏(或 iOS 行话中的 LaunchScreen)? iOS 上支持的分辨率取决于您包含的初始屏幕分辨率。
如果您没有包含一个使用设备全分辨率的应用程序,该应用程序将切换到某种兼容模式。
请参阅 this page 了解应包含的所有分辨率,具体取决于您要支持的设备。
最好的选择是将故事板文件指定为初始屏幕。这将扩展到所有分辨率。
好吧,正如用户@GeraldVersluis 在我的回答下方发表的评论:
The supported resolution on iOS is determined by the splash screen resolutions you have included. When you didn't include one that uses the full resolution of a device, the app will be switched into some kind of compatibility mode
这意味着,我必须为所有 iOS 版本添加一个图像,问题就解决了。
完成一个应用程序后,我想通过试飞来测试它。我将应用程序部署到 iTunes,在测试设备上安装应用程序后,应用程序中的一切似乎都是 "big" 。更详细:
我调试到 iPhone 6s 和 5s,一切正常 我将应用程序部署到 iTunes 并在两个不同的 iPhone 6s 上进行测试分辨率似乎很低 使用相同的部署,5s 的分辨率非常好。 看看这些图片:
你有什么想法吗?
确保 iPhone 6 秒的启动图像分辨率正确。
iPhone 6s (Retina HD 4.7) 需要 750 x 1334 的纵向启动图像。
参考文献:
https://www.apple.com/iphone-6s/specs/
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/launch-screen/
您添加了什么类型的闪屏(或 iOS 行话中的 LaunchScreen)? iOS 上支持的分辨率取决于您包含的初始屏幕分辨率。
如果您没有包含一个使用设备全分辨率的应用程序,该应用程序将切换到某种兼容模式。
请参阅 this page 了解应包含的所有分辨率,具体取决于您要支持的设备。
最好的选择是将故事板文件指定为初始屏幕。这将扩展到所有分辨率。
好吧,正如用户@GeraldVersluis 在我的回答下方发表的评论:
The supported resolution on iOS is determined by the splash screen resolutions you have included. When you didn't include one that uses the full resolution of a device, the app will be switched into some kind of compatibility mode
这意味着,我必须为所有 iOS 版本添加一个图像,问题就解决了。