suchen

Heim  >  Fragen und Antworten  >  Hauptteil

xcode - iOS开发真机内测时,LaunchImage添加正常,在iPhone6S上运行时状态栏字体变大是因为什么?

iOS开发蒲公英发布内测Application,LaunchImage添加正常,
在5、5S、6Plus上都正常,
但是在iPhone6S上运行时状态栏字体变大,
这是因为什么?

PHPzPHPz2888 Tage vor340

Antworte allen(6)Ich werde antworten

  • 高洛峰

    高洛峰2017-04-17 17:30:43

    您好,感谢使用蒲公英,根据您的问题描述:

    1. 您的 App 在 iPhone 6上应该也存在相同的问题。

    2. 在iPhone 6s上状态栏字体变大是因为您没有添加 iPhone 6s 需要的 Launch image,所以显示的时候就自动进入Scale Mode 使用iPhone 5s 也就是4寸屏的 Launch Image。

    3. 解决办法:添加iPhone 6 及 6s需要的 750尺寸的图。

    Antwort
    0
  • 黄舟

    黄舟2017-04-17 17:30:43

    没有添加 750 的图

    Antwort
    0
  • 天蓬老师

    天蓬老师2017-04-17 17:30:43

    肯定还是依赖的神马东西没整对,再仔细检查一遍一定能发现问题。

    这种时候,手册是你的好朋友:

    https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/iPhoneAppProgrammingGuide.pdf

    切忌遇到这种问题不要进入「撞大运编程」的死循环

    Antwort
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:30:43

    应该还是适配的时候,有些地方没有做好。楼主可以看看这里:

    1. http://www.websitepowerups.com/blog/2015/iphone-6-screen-size-web-design-tips/

    2. http://blog.reigndesign.com/blog/preparing-for-the-new-iphone-6-and-iphone-6-plus-screen-sizes/

    3. https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html#//apple_ref/doc/uid/TP40006556-CH22-SW1

    Antwort
    0
  • 高洛峰

    高洛峰2017-04-17 17:30:43

    去下载一个其他正常APP的ipa包
    把里面所有LaunchImage拷出来拖你项目
    然后再启动一次,应该就是正常的状态栏了
    然后告诉你的UI,我要全部这些大小的启动图

    Antwort
    0
  • PHP中文网

    PHP中文网2017-04-17 17:30:43

    就是没有添加完整图片的缘故。我也遇到了

    Antwort
    0
  • StornierenAntwort