- IOS 16.4 navigator.geolocation.getCurrentPosition
getLocation2(timeout, cacheTimeout) { console.log('[ getLocation2 test..... ]::-188') let timeId; setTimeout(() => { console.log("[ getLocation2 timeout ]::-190 ", timeout, "s"); }, timeout); try { navigator.geolocation.getCurrentPosition( (position) => { clearTimeout(timeId); console.log("[ getLocation2 success] ::", position); }, (e) => { clearTimeout(timeId); console.log("[ getLocation2 fail] ::", e); }, { timeout: timeout * 1e3, maximumAge: cacheTimeout * 1e3, } ); } catch (error) { console.log('[ getLocation2 error ]::-207', error) } } IOS 16.4 系统中小程序webview&app webview中内嵌H5 navigator.geolocation.getCurrentPosition无响应(超时),必现;
2023-04-07 - IOS 9.3页面加载报错
[图片] 第一步:打开小程序 第二步:关闭网络或网络较慢 第三步:关闭小程序 第四步:再次打开小程序(任何途径打开均可) 第五步:出现以上问题(目前只在ipone6s 9.x版本出现此问题)
2019-01-17