Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to customize the icon of iOS11 application in iOS11 development

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to customize the iOS11 application icon in iOS11 development, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

The icon for the application is a mesh white image, which is the default icon for the application on the iOS emulator. This icon can be changed. Here's how to change the icon of the HelloWorld application on the iOS simulator.

(1) add an image logo.png to the created project. The specific steps to add an image are as follows. First right-click anywhere in the project folder and the shortcut menu pops up, as shown in figure 1.34.

Figure 1.34 Shortcut menu

Then, select Add Files to "HelloWorld"... Command to bring up the Select File dialog box, as shown in figure 1.35.

Figure 1.35 Select File dialog box

Finally, select the image you want to add and click the Add button to add the image. The added image is displayed in the project folder.

Note: in addition to the method of adding images described above, there is also a method of dragging. The specific steps are as follows:

Open the folder where the HelloWorld project and logo.png are located, as shown in figure 1.36.

Figure 1.36 Open folder

Then, drag the logo.png image to the project folder of the HelloWorld project, release the mouse, and pop up the Choose options for adding these files: dialog box, as shown in figure 1.37.

Figure 1.37 Choose options for adding these files: dialog box

Finally, click the Finish button and the image logo.png is added to the project folder of the HelloWorld project.

Note: the icon size of iOS 11 must be 120 to 120 pixels.

(2) Click to open the Info.plist file in the project folder, add an Icon files to it, and enter the picture added to the project folder in the Value of its drop-down menu, as shown in figure 1.38.

Figure 1.38 Info.plist file

Run the program at this point, and after returning to the main interface of the iOS simulator, you will see the effect shown in figure 1.39.

Figure 1.39 running effect

Thank you for reading this article carefully. I hope the article "how to customize iOS11 application icons in iOS11 development" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report