【iOS】当我们在application:DidFinishLaunchWithOptions:中返回NO时会发生什么

先给出官方文档解释

The return result from this application:didFinishLaunchingWithOptions: is combined with the return result from the application:willFinishLaunchingWithOptions: method to determine if a URL should be handled. If either method returns NO, the URL is not handled. If you do not implement one of the methods, only the return value of the implemented method is considered.

其中 determine if a URL should be handled 代表着 application:openURL:options: 方法是否执行

return YES 时执行,return NO 时不执行

你可能感兴趣的:(【iOS】当我们在application:DidFinishLaunchWithOptions:中返回NO时会发生什么)