Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
311 views
in Technique[技术] by (71.8m points)

ios - Is it okay to leave out unnecessary launch images?

I have an app that supports only iPhones running iOS 10 or above.

I added only the following images:

I left out:

  • landscape, since I assume iOS will use the portait one if landscape is missing.
  • iPad, since my app supports iPhone only.
  • 3.5-inch iPhones, since I require iOS 10, which doesn't run on 3.5-inch iPhones.

Unfortunately, my UIWindow size is 320 x 658 points on the iPhone 7 Plus, rather than the 414 x 736 it should be. iOS thinks that I support only 4-inch screens, so renders my UI at that size and then expands it, making everything looks huge.

How do I fix this?

I'm not using storyboards or xibs. Please don't suggest that I use them. That's offtopic for this question.

When the above didn't work, I tried adding [email protected], but it didn't help.

I also tried using an asset catalog, but that didn't work, either, as discussed in this separate question.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Launch images are about to be dropped completely. The only acceptable app submissions will be those with a launch storyboard. These rules are slated to go into effect in April 2020. So get ready now. See https://developer.apple.com/videos/play/wwdc2019/224/?time=103.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...