WXApi.checkUniversalLinkReady { step, result in
print("check info: ----- ", step.rawValue, result.success, result.errorInfo, result.suggestion)
}
自检函数只会输出到4,就不会再继续打印日志了,日志如下:
check info: ----- 0 true check passed
check info: ----- 1 true check passed
check info: ----- 2 true check passed
check info: ----- 3 true check passed
check info: ----- 4 true check passed
WXApi.startLog(by: .detail) {
print($0)
}
startLog 日志如下:
wxlog:set property list
wxlog:launch app with ul only success
wxlog:Successfully starting WeChat with the universal link.