iOS: Launch image gets wrinkled in the center during a call/recording/hot-spot session

独自空忆成欢 提交于 2019-11-30 17:27:53

Just define a key in plist file will solve your problem

Status bar is initially hidden = YES

toobiz

OK, the solution I found is to hide status when launching the app, just like here

Seems like Apple "take" 4% of screen space from the middle of the screen (as far as I tested) to give it to status bar. Personally I faced this problem when using iPhone modem mode.

So if it is not critical for image to be centered vertically - the solution would be to place image above/below this "4% middle screen area".

Examples when image is cropped:

How image should look(image centered vertically & horizontally, width & height are fixed size)

How it actually looks

Example when image looks as supposed to (but not centered) :

Constraints example

Image with new constraints example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!