문제

Table 5-4 (about half way down) this Apple doc page suggests sizes for the launch images for iOS:

Device                       Portrait                         Landscape 

iPhone and iPod touch     320 x 480 pixels                  Not supported
                          640 x 960 pixels (@2x)
iPhone 5                  640 x 1136 pixels (@2x)           Not supported         
iPad                      768 x 1024 pixels                 1024 x 768 pixels
                          1536 x 2048 pixels (@2x)          2048 x 1536 pixels (@2x)

My app has a photo background at launch so at present I have to use GIMP to crop/resize the photo for each of these, which is fiddly.

Is there a tool to do this automatically ?

One other complication is that there are a couple of logos in the image too, ideally they will be in separate layers, so they can stay legible and tidily laid out for each size/orientation.

도움이 되었습니까?

해결책

There is not a tool that I know of do do this. But there is a button in the Xcode Organizer, under Screenshots, labeled “Save as Launch Image”. If you set up your code to dynamically generate the image you want, you can run your app on various devices and grab images of it running, and then use those images as your launch images. You may have to modify them a little bit, but it’s certainly easier than creating each one from scratch.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top