IOS: application details analysis, ios application details
1. default.png
A png image file that contains the default photo page of the application. When a user runs an application, the iPhone will use this picture to display an animation, resulting in a small increase in front of the screen. The default.png file of the application continues to grow after being loaded until the entire screen is filled. Before the application is started, images with a variability of 320*480 will be displayed on the screen. Generally, an application's photo page consists of a black or white background and a logo. It may also be a background image, which is similar to the interface displayed after the application initialization.
2. icon.png
PNG image files containing application icons. This icon is displayed on the iPhone main interface. The recommended Icon size is 57*57 pixels. The file can be named at will, as long as it is specified in the Info. plist list described below. The icon is automatically highlighted when it is displayed. Therefore, you do not need to draw the border and highlight of the rounded corner of the icon.
If the icon.pngand default.png files of the application exist, they are also copied to the program folder. Without these two files, the iPhone will use the default image with the worst effect. Make sure that you create and include these images when publishing an application that is pleasing to you, so that the program looks professional.
3. Cross-compilation.
Cross-compilation is a compiler that runs on a system platform and compiles executable programs on another system platform. In the iPhone SDK, the compiler runs on the Mac OS X desktop machine. The Compiler generates executable programs on the iPhone's ARM architecture.
4. iPhone simulator.
You don't know which part of the application consumes a lot of iPhone CPU and memory, because the desktop computer has more resources to run your application. Graphics processing is slow and some other problems may occur only when the real machine is debugged.
V. Model-View-Controller
Software development on the iPhone must follow the Model-View-controller mode and model to take charge of application data and business logic. The view displays the user interface elements of the data to the user and allows the user to perform operations. The Controller provides interaction between user interface elements and data. Such as responding to multi-touch gestures, Interaction Events, and switching between different parts of the logic.
6. Add a framework.
Static links will directly compile the object into your application. Dynamic Links are run into the loaded object.
7. Introduction.
One advantage of using # import is that it has a built-in logic that ensures that the same resource is contained no more than once. This replaces what is often seen in C code and uses macros for labeling.