|
Icon sizesAbove image from Designing for iOS 9 How to Set the App IconClick Assets.xcassets in the Project navigator. Click AppIcon This will give you an empty app icon set. Now just drag the right sized image (in .png format) from Finder onto every blank in the app set. The app icon should be all set up now. How to create the right sized imagesThe image at the very top tells the pixels sizes for for each point size that is required in iOS 9. However, even if I don't get this answer updated for future versions of iOS, you can still figure out the correct pixel sizes using the method below. Look at how many points (pt) each blank on the empty image set is. If the image is 1x then the pixels are the same as the points. For 2x double the points and 3x triple the points. So, for example, in the first blank above (29pt 2x) you would need a 58x58 pixel image. You can start with a 1024x1024 pixel image and then downsize it to the correct sizes. You can do it yourself or there are also websites and scripts for getting the right sizes. Do a search for "ios app icon generator" or something similar. I don't think the names matter as long as you get the dimensions right, but the general naming convention is as follows:
Launch ImageAlthough you can use an image for the launch screen, consider using a launch screen storyboard file. This will conveniently resize for every size and orientation. Check out this SO answer or the following documentation for help with this. Useful documentationThe Xcode images in this post were created with Xcode 7.
Source from : http://stackoverflow.com/ |
- Sep 07 Wed 2016 11:45
[iOS] Xcode 7 icon sizes
留言列表