检查安装

isInstalled方法用来检测微信客户端是否安装。

参数说明

示例代码

Wechat.isInstalled(function (installed) {
    alert("Wechat installed: " + (installed ? "Yes" : "No"));
}, function (reason) {
    alert("Failed: " + reason);
});