call Amap javascriptAPI failed to locate in 4G mode on iPhone, unable to obtain location information (the website has been upgraded to https,wifi mode, but the location is normal!) Android is normal to solve
// 
$(".bottom-btn").on("click",".img",function(){
  console.log("")
  map.plugin("AMap.Geolocation", function () {
  // geolocation 
  const geolocation = new AMap.Geolocation({
    enableHighAccuracy: true, //:true
    timeout: 10000, //10:
    buttonOffset: new AMap.Pixel(10, 20), //:Pixel(10, 20)
    zoomToAccuracy: false, //:false
    buttonPosition: "LB",
    useNative: true,
    convert:true,
    showMarker: true, //:true
    showCircle: true, //:true
    panToLocation: true, //:true
  });
  map.addControl(geolocation);
  geolocation.getCurrentPosition();
  AMap.event.addListener(geolocation, "complete", onComplete); //
  AMap.event.addListener(geolocation, "error", onError); //
});
