iOS Learning note 1-iphone program run process

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.