1. 程式人生 > >IOS設定閃屏Splash Image 打包 閃現了unity logo

IOS設定閃屏Splash Image 打包 閃現了unity logo

IOS打包,設定閃屏Splash Image 打包,結果還是閃現了unity logo,才彈出了設定的圖片。打了測試包,同樣的設定,測試沒有出現閃現unitylogo的情況。

查了官方API:https://docs.unity3d.com/Manual/class-PlayerSettingsiOS.html

- None The behavior is as if only launch images are used.  
只有當啟動圖片使用這種行為
- Default A launch screen that is very much like a launch image. One image is selected for portrait and landscape. The selection order: iPhone 6+ launch images, shared mobile launch image, default unity launch image for iPhone 6+. The images are displayed using aspect-fill mode.
- Image with background, relative size A center-aligned image is shown, with the rest of area filled with solid color. The image size is user-specified percentage of the screen size, computed in the smaller dimension (vertical on landscape, horizontal in portrait orientations). User also specifies background color and images for portrait and landscape orientations. Image selection order: the user-specified image, shared mobile launch image, default unity launch image for iPhone 6+. The images are displayed using aspect-fill mode.
- Image with background, constant size Same as relative size option except that the size of the image is defined by user-specified number of points.
- Custom Xib An user-specified XIB file from any location.

解決方法:

將LaunchScreenType設定為None。