Custom app icons and real-computer tests for IOS 9 app development TutorialsCustomizing the iOS9 application icon
in the figure 1.12 The icon in the application can be seen as a mesh white image, which is IOS The default icon for the application on the emulator. This icon can be changed. here's how to make changes to the icon for the HelloWorld application on the iOS emulator .
( 1 ) to add an image logo.png to the project you are creating, the steps to add the image are as follows. First right-click anywhere in the project folder and pop up the shortcut menu, as shown in1.39 .
Figure 1.39 shortcut menu
Then, select Add Files to "HelloWorld" ... command, the Select File dialog box pops up, 1.40 is shown.
Figure 1.40 Select File dialog box
Finally, select the image you want to add and click ADD button to implement the image additions. The image that you added is displayed in the project folder.
Note: In addition to the methods described above for adding images, there is a way to drag. The steps are as follows:
Open HelloWorld Projects and logo.png the folder where you are located, 1.41 is shown.
figure 1.41   open folder
Then, drag image to project folder, release mouse, eject choose options for adding these files: dialog box, 1.42
Figure 1.42 Choose options for adding these files: dialog Box
Finally, click Finish button, image logo.png Is added to HelloWorld Project 's project folder.
Note: IOS 9 the icon size must be 120*120 pixels.
( 2 " Span style= "font-family: Song body; line-height:1.5 ">" Click to open the project folder in info.plist file, in which you add a icon files value 1.43
Figure 1.43 Info.plist file
Run the program at this time, in return IOS Emulator's main interface, you'll see 1.44 The effect shown.
Figure 1.44 Run effect
iOS9 applicationsReal-Machine testing
in theXcode 7.0, Apple has made a lot of changes in its development license, testingappsome restrictions have been lifted. In theXcode7Previous versions, Apple only registered with the developer account ( AboutUSD Billing account) for developers to provideXcodethe download and the real-machine test feature, butXcode 7.0, developers do not need to sign up for a paid developer account, as long as developers are interested in using the freeApple IDfree test on the deviceapp.
Next we'll explain how to open the xcode 7.0 on the menu bar. product| destination| Real machine (the real machine in this book is " mac " iphone ) command, 1.45 ios simulator.
Figure 1.45 Select Device
This article is selected from : IOS 9 Application Development Basic Tutorial University PA Internal information, reproduced please indicate the source, respect the technology respect the IT person!
?
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Custom app icons and real-computer tests for IOS 9 app development Tutorials