IOS Application new Features

Source: Internet
Author: User

1,-(void) Applicationwillresignactive: (uiapplication *) application Description: When the application is going into an inactive state, during which time the application does not receive messages or events, such as coming to the phone 2,- (void) Applicationdidbecomeactive: (uiapplication *) application Description: When the application executes in the active state, this is exactly the opposite of the method above 3,-(void) Applicationdidenterbackground: (uiapplication *) application description: Called when the program is pushed to the background. So to set the background to continue running, in this function is set to 4,-(void) Applicationwillenterforeground: (UIApplication *) Application Note: When the program from the background will be back to the foreground when the call, this is just the opposite of the above method. 5,-(void) Applicationwillterminate: (uiapplication *) application Description: When the program is about to exit is called, it is usually used to save data and some cleanup work before exiting. This needs to set the key value of the uiapplicationexitsonsuspend. 6,-(void) applicationdidreceivememorywarning: (uiapplication *) application Description: The iphone device has only limited memory, If the application is assigned too much memory, the operating system terminates the operation of the application, which is performed before terminating, usually where memory cleanup is done to prevent the program from being terminated 7,-(void) Applicationsignificanttimechange: ( uiapplication*) Application Description: Executes 8,-(void) applicationdidfinishlaunching when system time changes: (uiapplication*) Application Description: Executes 9,-(void) application when the program is loaded: (uiapplication) Application Willchangestatusbarframe: (CGRect) Newstatusbarframe Description: When the StatusBar box is about to change, execute 10,-(void) Application: (uiapplication*) Application willchangestatusbarorientation: (uiinterfaceorientation) Newstatusbarorientationduration: (nstimeinterval) Duration Description: Perform 11,-(void) application when the StatusBar box direction will change: ( uiapplication*) Application didchangestatusbarorientation: (uiinterfaceorientation) Oldstatusbarorientation Description: Perform 12,-(void) application when the StatusBar box direction change is complete: (uiapplication*) application Didchangesetstatusbarframe: (cgrect) oldstatusbarframe Description: When the StatusBar box change is complete  

Application differences between iOS 11 and iOS 10

1.-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (Nsdictionary *) launchoptions {  //  new controller and Push/model  }2.-(void) Applicationdidbecomeactive: (uiapplication *) application {}3.  -(void) viewdidload {}//  iOS 10 performance 1--2--3//  iOS 11 performance of 1--3--2

Pit father's things, to make a bug to Lao Tzu, tell posterity has borrowed

IOS Application new Features

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.