Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. This normally happens when your launch image is not correct. iOS determines the screen size on the basis of size of launch image. I faced the similar issue for iPhone 6 , I fixed that issue by adding launch image as png in the application (not in images.Assets) and adding the UILaunchImages dictionary in info.plist.
  2. But here too for iPhone 6 use landscape image. here is the source code of info.plist. But we sure that all the launch images are of correct size.
  3. <array>
  4. <dict>
  5. <key>UILaunchImageMinimumOSVersion</key>
  6. <string>8.1</string>
  7. <key>UILaunchImageName</key>A
  8. <string>Default-320x480</string>
  9. <key>UILaunchImageOrientation</key>
  10. <string>LandscapeLeft</string>
  11. <key>UILaunchImageSize</key>
  12. <string>{320, 480}</string>
  13. </dict>
  14. <dict>
  15. <key>UILaunchImageMinimumOSVersion</key>
  16. <string>8.1</string>
  17. <key>UILaunchImageName</key>
  18. <string>Default-320x480</string>
  19. <key>UILaunchImageOrientation</key>
  20. <string>LandscapeRight</string>
  21. <key>UILaunchImageSize</key>
  22. <string>{320, 480}</string>
  23. </dict>
  24. <dict>
  25. <key>UILaunchImageMinimumOSVersion</key>
  26. <string>8.1</string>
  27. <key>UILaunchImageName</key>
  28. <string>Default-Landscape-568h</string>
  29. <key>UILaunchImageOrientation</key>
  30. <string>LandscapeLeft</string>
  31. <key>UILaunchImageSize</key>
  32. <string>{320, 568}</string>
  33. </dict>
  34. <dict>
  35. <key>UILaunchImageMinimumOSVersion</key>
  36. <string>7.0</string>
  37. <key>UILaunchImageName</key>
  38. <string>Default-568h</string>
  39. <key>UILaunchImageOrientation</key>
  40. <string>Portrait</string>
  41. <key>UILaunchImageSize</key>
  42. <string>{320, 568}</string>
  43. </dict>
  44. <dict>
  45. <key>UILaunchImageMinimumOSVersion</key>
  46. <string>8.1</string>
  47. <key>UILaunchImageName</key>
  48. <string>Default-375x667</string>
  49. <key>UILaunchImageOrientation</key>
  50. <string>LandscapeLeft</string>
  51. <key>UILaunchImageSize</key>
  52. <string>{375, 667}</string>
  53. </dict>
  54. <dict>
  55. <key>UILaunchImageMinimumOSVersion</key>
  56. <string>8.1</string>
  57. <key>UILaunchImageName</key>
  58. <string>Default-375x667</string>
  59. <key>UILaunchImageOrientation</key>
  60. <string>LandscapeRight</string>
  61. <key>UILaunchImageSize</key>
  62. <string>{375, 667}</string>
  63. </dict>
  64. <dict>
  65. <key>UILaunchImageMinimumOSVersion</key>
  66. <string>8.1</string>
  67. <key>UILaunchImageName</key>
  68. <string>Default-2208x1242</string>
  69. <key>UILaunchImageOrientation</key>
  70. <string>LandscapeLeft</string>
  71. <key>UILaunchImageSize</key>
  72. <string>{414, 736}</string>
  73. </dict>
  74. <dict>
  75. <key>UILaunchImageMinimumOSVersion</key>
  76. <string>8.1</string>
  77. <key>UILaunchImageName</key>
  78. <string>Default-2208x1242</string>
  79. <key>UILaunchImageOrientation</key>
  80. <string>LandscapeRight</string>
  81. <key>UILaunchImageSize</key>
  82. <string>{414, 736}</string>
  83. </dict>
  84. <dict>
  85. <key>UILaunchImageMinimumOSVersion</key>
  86. <string>8.1</string>
  87. <key>UILaunchImageName</key>
  88. <string>Default-2048x1536</string>
  89. <key>UILaunchImageOrientation</key>
  90. <string>LandscapeLeft</string>
  91. <key>UILaunchImageSize</key>
  92. <string>{768, 1024}</string>
  93. </dict>
  94. <dict>
  95. <key>UILaunchImageMinimumOSVersion</key>
  96. <string>8.1</string>
  97. <key>UILaunchImageName</key>
  98. <string>Default-2048x1536</string>
  99. <key>UILaunchImageOrientation</key>
  100. <string>LandscapeRight</string>
  101. <key>UILaunchImageSize</key>
  102. <string>{768, 1024}</string>
  103. </dict>
  104. </array>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement