applicationDidFinishLaunching:
Tells the delegate when the application has finished launching. This method is optional.
- (void)applicationDidFinishLaunching:(UIApplication *)application
Parameters
-
application
-
The delegating application object.
Discussion
This method is the ideal place for the delegate to perform various initialization and configuration tasks, especially restoring the application to the previous state and setting up the initial windows and views of the application.
The application posts a UIApplicationDidFinishLaunchingNotification at the same time it calls this method.
Availability
- Available in iPhone OS 2.0 and later.
See Also
Declared In
UIApplication.h
本文详细介绍了iOS应用中applicationDidFinishLaunching方法的作用及其参数。该方法为应用程序初始化提供了时机,包括恢复应用状态、设置初始窗口及视图等。同时,文章还提及了此方法调用时会发布的UIApplicationDidFinishLaunchingNotification通知。
4571

被折叠的 条评论
为什么被折叠?



