# Import "helloappdelegate. H"
@ Implementation helloappdelegate
// Customize the User-Defined point after the application starts
-(Bool) Application :( uiapplication *) Application didfinishlaunchingwitexceptions :( nsdictionary
*) Launchoptions
{
Return
Yes;
}
// Stop the application
-(Void) applicationwillresignactive :( uiapplication *) Application
{
}
// Release shared resources, store user files, invalid time, and place sufficient application form information
-(Void) applicationdidenterbackground :( uiapplication *) Application
{
}
// Release shared resources, store user files, invalid time, and place sufficient application form information
-(Void) applicationwillenterforeground :( uiapplication *) Application
{
}
// Resume the stopped task program
-(Void) applicationdidbecomeactive :( uiapplication *) Application
{
}
// After the program form changes, wait until the method ends. When a program supports background multi-task processing, you can use this method to end the execution after you select to exit the background task.
-(Void) applicationwillterminate :( uiapplication *) Application
{
}
@ End
The remarks are missing in xcode4.6.3 of the new version.
# Pragma mark-
# Pragma mark Memory Management
// Release the available memory to the program whenever possible, and even if a warning is sent
-(Void) applicationdidreceivememorywarning :( uiapplication *) Application {
}
-(Void) dealloc {
[Viewcontroller release];
[Window release];
// Execute memory cleanup
[Super dealloc];
}
Because the new iOS version xcode4.6.3 supports automatic memory cleanup, the program's local memory warning is not mentioned. It may be because the memory is usually low and we seldom perform special processing. Therefore, the new version xcode4.6.3 is creating appdelegate. not mentioned at H.