UIApplicationDelegate

Description

The UIApplicationDelegate protocol declares methods that are implemented by the delegate of the singleton UIApplication object. These methods provide you with information about key events in an application’s execution such as when it finished launching, when it is about to be terminated, when memory is low, and when important changes occur. Implementing these methods gives you a chance to respond to these system events and respond appropriately. 

UIApplicationDelegateプロトコルは、独立したUIApplicationオブジェクトのデリゲートにより実行されるメソッドを宣言する。これらのメソッドはアプリケーションが実行したキーイベントについての情報を通知する。例えば、いつ起動が完了したか、いつ終了されるか、いつメモリーが低下したか、いつ重要な変更が起きたかなど。それらのメソッドが実行されることによって、それらのシステムイベントに対して応答したり、的確に応答する機会を得ることができる。

Availability 

iOS (2.0 and later)

Declared 

UIApplication.h

Reference 

UIApplicationDelegate Protocol Reference

Guides 

Local and Push Notification Programming Guide, iOS App Programming Guide

Samples 

ScrollViewSuite, SquareCam, TableViewSuite, Touches, iAdSuite

コメント