appdelegate中这三个方法也都设置了,但是从小程序返回没有走 continue userActivit, checkUniversalLinkReady所有步骤也都走成功了
func application(_ application: UIApplication, handleOpen url: URL) -> Bool {
return WXApi.handleOpen(url, delegate: self)
}
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
return WXApi.handleOpen(url, delegate: self)
}
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
return WXApi.handleOpenUniversalLink(userActivity, delegate: self)
}
以下是输出日志
WXULCheckStep(rawValue: 0), result = WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ].
WXULCheckStep(rawValue: 1), result = WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ].
WXULCheckStep(rawValue: 2), result = WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ].
wxchatLog: [AppCommunicate.m]+[AppCommunicate setPropertyList:forAppID:canReadPasteBoard:]WXLog:set property list.
WXULCheckStep(rawValue: 3), result = WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ].
wxchatLog: [WXApi.m]+[WXApi launchApplicationWithUrl:completion:]_block_invokeWXLog:launch app with ul only success.
WXULCheckStep(rawValue: 4), result = WXCheckULStepResult[success: 1, errorInfo: check passed, suggestion: ].
wxchatLog: [WXApi.m]+[WXApi checkUniversalLinkReady:]_block_invokeWXLog:Successfully starting WeChat with the universal link..
WXULCheckStep(rawValue: 5), result = WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ].
wxchatLog: [WXApi.m]+[WXApi checkUniversalLinkCallback:step:success:errorInfo:suggestion:]WXLog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ].
WXULCheckStep(rawValue: 6), result = WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ].
wxchatLog: [WXApi.m]+[WXApi checkUniversalLinkCallback:step:success:errorInfo:suggestion:]WXLog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ].
有谁碰到过同样的问题么? 怎么解决的