uni.startLocationUpdate({
type: 'gcj02',
success: (res) => {
console.log("开启ios定位追踪", res);
uni.onLocationChange(res=>{
console.log(res,'-------------')
});
},
fail: (err) => {
console.log('获取当前位置失败', err);
uni.hideLoading();
}
})
uni.onLocationChange方法没有任何反应
5***@qq.com (作者)
内嵌到app里面也不行
2024-06-27 17:26