处理Universal Links回调 -(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler NS_AVAILABLE_IOS(8_0); { // Demo处理Universallink的示例代码 if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) { NSURL *url = userActivity.webpageURL; if (url && [TencentOAuth CanHandleUniversalLink:url]) { // 兼容[QQApiInterface handleOpenURL:delegate:]的接口回调能力 [QQApiInterface handleOpenUniversallink:url delegate:(id<QQApiInterfaceDelegate>) [QQApiShareEntry class]]; return [TencentOAuth HandleUniversalLink:url]; } } return YES; }
WXApi sendReq:req completion不回调?UL配置反复确认没有问题,但发起登陆之后一直不回调,直接闪退返回app, wxlog:Error:fail to load Keychain status:-25300, keyData null:1 唤起微信:成功 PBItemCollectionServicer connection disconnected.
2020-06-29处理Universal Links回调-(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler NS_AVAILABLE_IOS(8_0); { // Demo处理Universallink的示例代码 if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) { NSURL *url = userActivity.webpageURL; if (url && [TencentOAuth CanHandleUniversalLink:url]) { // 兼容[QQApiInterface handleOpenURL:delegate:]的接口回调能力 [QQApiInterface handleOpenUniversallink:url delegate:(id<QQApiInterfaceDelegate>) [QQApiShareEntry class]]; return [TencentOAuth HandleUniversalLink:url]; } } return YES; }
iOS微信分享或QQ分享,跳转微信后,自动返回app,报PBItemCollectionSe...?iOS微信分享或QQ分享,跳转微信后,自动返回app,报PBItemCollectionServicer connection disconnected.网上说AppDelegate 3个代理方法都已经处理了
2020-06-29