iOS Settings app icon

Source: Internet
Author: User
Tags list of attributes

iOS Settings app icon

That is, press the home key to display the application icon in the interface


1. First you need to prepare the icon to display

The requirement size is 57*57 pixels, preferably in. png format.

In fact, common image formats can be displayed normally, but using. png is best because Xcode automatically optimizes the. png image as it builds the application, making it the fastest and most efficient image type in the iOS app.

2. Drag and drop the. png file from the Finder into the Resoure folder in Xcode. This pops up a dialog box that lets you choose to have Xcode copy the file to the project directory, or you can add it as a reference to the original file to the project. If you are not sharing with other projects, you typically choose to copy the resources into the Xcode project.

3. Modify the. plist file

Open the project's. plist file, which is a property list file that contains some general information about the application.

In the list of attributes, locate the icon file, and set the value of the. PNG name, such as Icon.png.

Then compile and run to see if the app's icon is the one you set.


Also, even if you omit the icon file entry in Plist, the icon will still appear. Because by default, if no icon file name is provided, the SDK searches for a resource named Icon.png and uses it.

You can try not to set the icon file entry to see if your icon will still display properly.

iOS Settings app icon

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.