iphone program run Process
MAIN.M file, main entry for iOS application
The two parameters of the main function are command-line arguments, which are not used in iOS development, including the two parameters for consistency with standard ANSI C
Uiapplicationmain function:
Provides the main entry point for the application, creates a new application instance, and its delegate. Delegates are responsible for handling application state changes and providing responses to those changes
After the windows are started and loaded, application delegation is behind the scenes, and almost all application semantics go to a subclass of the Uiviewcontroller class, and application delegates usually no longer work unless the application is about to end, or there is a memory problem. A
Main ()---> Application delegate (appdelegate)----> View Controller (Uiviewconstroller)
Another: App icon and app image
Icon.png and Default.png, the former is the application icon, the latter is the start screen
Icon.png size 29*29 (shown in Settings) 57*57 (desktop icon) 512*512 (for display)
To join our QQ group or public account please see: Ryan's Zone public account and QQ Group
iOS Learning note 1-iphone program run process