NFCAdapter 是否支持iOS
var adapter = wx.getNFCAdapter();
adapter.startDiscovery({
complete: function (res) {
console.log(res);
}
})
adapter.onDiscovered(function callback(res){
console.log(JSON.stringify(res));
});
iOS 端运行提示:
不支持iOS吗?文档没有说只支持 android
https://developers.weixin.qq.com/miniprogram/dev/api/device/nfc/NFCAdapter.startDiscovery.html