【iOS】当我们在application:DidFinishLa
2019-06-28 本文已影响0人
CoderHuangRui
先给出官方文档解释
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 时不执行