question
When AirSDK is packaged, there is no corresponding project to set up, and the full screen cannot be used.
During the packaging process, it is found that the size of the Air stage will be different (with black borders around it) if the startup image is set differently. Especially after the SDK is updated, the new device There will be obvious problems.
I discovered this problem when I updated the SDK before the beginning. In order to allow different devices to fill the screen, I found various ways to set the startup image. The final solution is as follows
solve
Use a picture with a specific name and size, put it into the package, and iOS will automatically find it as a startup image
(Why do you know the name and size of these pictures... unpack the normal iOS package)
The specific picture information is as follows
Default-375w-667h@2x~iphone.png 750×1334 content: vertical
Default-568h@2x~iphone.png 640×1136 content: vertical
Default-812h@3x~iphone.png 1125 × 2436 content: Vertical
Default-Portrait@2x~ipad.png 1536 × 2048 Content: Vertical
Default-Portrait~ipad.png 640 × 960 Content: Vertical
Default@2x~iphone.png 640 × 960 Content: Vertical
Default-Landscape-414w-736h@3x~iphone.png 2208 × 1242 Contents: Horizontal
Default-Landscape-812h@3x~iphone.png 2436 × 1125 Contents: Horizontal
Default-Landscape@2x~ipad.png 2048 × 1536 Contents: Horizontal
Default-Landscape~ipad.png 960 × 640 Contents: Horizontal
When packaging, you need to use a script to put it into the root directory of the package
. In any case, you must set full screen in the project settings file
contact author
Looking forward to your likes and attention! In case of doubt, contact the author.