不更新MKMapView中的当前位置 [英] Not updating the current location in MKMapView

查看:56
本文介绍了不更新MKMapView中的当前位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用CLLocationManager更新当前位置,但是有时丢失了当前位置。我不知道为什么现在的位置丢失了。

I am using CLLocationManager to update the current location but some times the current location is lost. I don't know why the current location is losing.

请帮助我解决这个问题。

Please help me out of this.

谢谢您,
Madan Mohan

Thank you, Madan Mohan

推荐答案

该位置可能由于多种原因而丢失:

The location can become lost for a wide variety of reasons:


  • 设备不再具有对天空的合理开放权限,因此GPS卫星信息不可用。

  • The device no longer has reasonably open access to the sky so GPS satellite information is unavailable.

没有足够的蜂窝塔来执行三角测量。

There aren't enough cell towers available to perform triangulation.

wifi接入点不在已知接入点的数据库中。

The wifi access point isn't in the database of known access points.

用户切换到飞行模式。

还有更多。位置感知应用程序必须假设它们会随时丢失地理位置信息。它通常会在片刻之后返回。

And many more. Location-aware applications have to assume they'll lose geolocation information at any time. It often comes back moments later.

这篇关于不更新MKMapView中的当前位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆