当前位置:   article > 正文

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

ios17 didfinishlaunchingwithoptions

先给出官方文档解释

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 时不执行

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/124976
推荐阅读
  

闽ICP备14008679号