简体   繁体   English

如何理解Objective-C AppDelegate 方法application:didFINishLauchingWithOptions?

[英]How to understand Objective-C AppDelegate method application:didFInishLauchingWithOptions?

I am new in iOS development, I saw the function我是iOS开发新手,看到了这个功能

-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 

As I know, to declare a function is据我所知,声明一个函数是

-/+(return type)function_name: (param type)param

So what is the function name of the function mentioned above?那么上面提到的函数的函数名是什么呢?

Here name of the function is application but its mostly called application didFinishLaunchingWithOptions.这里函数的名称是应用程序,但它主要称为应用程序 didFinishLaunchingWithOptions。 Its called first when the app is launched.它在应用程序启动时首先调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM