且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

正在进行通话时的iOS启动图像

更新时间:2023-02-16 22:15:43

没有API(已记录文档或其他文档)可用于在进行呼叫时使用其他启动映像.您所看到的是开发人员按照文档中指定的说明进行操作后得到的结果,并且操作系统没有因此而裁剪图像.

There is no API, documented or otherwise, for using a different launch image when a call is in progress. What you’re seeing is the result of the developer following the directions specified in the documentation, and the OS not cropping their image as a result.

许多第三方开发人员选择包含裁剪后的320x460启动图像(省略了标准的高度为20像素的状态栏),而不是文档指定的320x480全屏图像.发生这种情况时,如果状态栏处于双高模式,则操作系统将从图像中间裁切20个像素.

Many third-party developers opt to include a cropped 320x460 launch image (omitting the standard height 20 pixel status bar) instead of the documentation-specified 320x480 full screen image. When that happens, the OS will crop 20 pixels from the middle of the image if the status bar is in double-height mode.

解决方案::提供完整的320x480图片,并且状态栏为双倍高度时不会被裁剪.

Solution: Provide a full-size 320x480 image, and it will not be cropped when the status bar is double-height.