SUMMARY

This chapter provided a brief introduction to developing your first iPhone application. You have created a simple iPhone application, designed its user interface using some of the built-in views, and then test it on the iPhone Simulator. You have also learned how to write a simple action for your Button so that it can display a message when the user clicks on it. Finally, you saw how to assign an image to be used as the icon for your application and how to set a launch image for your application.

Although you likely still have many questions, the aim of this chapter was to get you started. The next few chapters dive deeper into the details of iPhone programming, gradually revealing the secrets of how all those components that seem so mysterious at first work together to create your application.

EXERCISES

  1. You want to add an icon to an iPhone project in Xcode. What is the size of the image that you should provide?
  2. What is the easiest way to add a launch image to an iPhone application?
  3. When adding an image to the Supporting Files folder in your Xcode project, why do you need to check the“Copy items into destination group's folder (If needed)”option?

Answers to the exercises can be found in Appendix D.

image WHAT YOU LEARNED IN THIS CHAPTER

TOPIC KEY CONCEPTS
Xcode Create your iPhone Application project and write code that manipulates your application.
Interface Builder Build your iPhone UI using the various views located in the Library.
Adding a application icon Adding an application icon Add an image to the project and then specify the image name in the Icon files item of the info.plist file.
Adding a launch image Add an image named Default.png or ([email protected]) to the Supporting Files folder of your project.
Creating icons for your iPhone applications Icon size is 57×57 pixels and 114×114 pixels(high resolution). For App Store hosting, the size is 512×512 pixels.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.23.59.248