iOS13 openURL bug - sourceApplication is nil

突然注意到iOS13上别的app呼起自家app后,sourceApplication为nil了

image.png

以下2个方法都是

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(nullable NSString *)sourceApplication annotation:(id)annotation API_DEPRECATED_WITH_REPLACEMENT("application:openURL:options:", ios(4.2, 9.0)) API_UNAVAILABLE(tvos);

- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options API_AVAILABLE(ios(9.0)); // no equiv. notification. return NO if the application can't open for some reason

此时用iOS12及以下版本是能够正常获取bundleID的,也有其他RD反馈到了apple ,希望能早点修复这个bug

image.png

你可能感兴趣的:(iOS13 openURL bug - sourceApplication is nil)