iOS boot order

Source: Internet
Author: User

I. Implementation steps for Uiapplicationmain
1. Create a UIApplication object, a program corresponding to a UIApplication object (singleton), UIApplication object is the symbol of the program
2. Next, a UIApplication delegate object is created based on the 4th parameter
3. Turn on a message loop (constantly listening to some system events)
4. After listening to the corresponding event, will send the corresponding message to the agent
* When the program starts, it will send application:didfinishlaunchingwithoptions: message
* When the program enters the background, it will send applicationdidenterbackground: message
....

Two. uiapplication
1. Set the icon number
App.applicationiconbadgenumber = 10;

2. Set the display networking status
app.networkactivityindicatorvisible = YES;

3. Open a URL (call, open the URL, send a text message, send an email)
Nsurl *url = [Nsurl urlwithstring:@ "http://www.baidu.com"];
[App Openurl:url];

Three. Common Files
1.*-info.plist file
The most important document in the 1> project describes the software name. Software version, software unique identification
2> Common Settings
* Software name--bundle display Name--Cfbundledisplayname
* Software version number--Bundle Version = = = Cfbunleversion
* Unique identifier of the software--Bundle identifier--cfbundleidentifier
1.0

2.*-prefix.pch
1> the contents of this file are shared by all other files in the project

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.