CLLocationManager 在 iphone 4 ios 中不起作用

发布于 2024-09-19 03:31:07 字数 191 浏览 2 评论 0原文

我的Mac os版本是10.6.4,xcode版本是3.2.3。我正在使用WhereAmI程序。我使用CLLocationManager来获取当前位置,它在iphone 3 ios中工作正常,但在iphone 4 ios中不起作用。有人能告诉我吗?我这是什么问题。我不明白这是什么问题。我认为这个问题与 GPS 设置有关,但不明白。请帮助我。 提前致谢.......

My Mac os version is 10.6.4 and xcode version is 3.2.3.I'm using WhereAmI program.I have used CLLocationManager to get current location it works fine in iphone 3 ios but does not works in iphone 4 ios.Can anybody tell me what is the problem.I'm not understanding what is the problem.I thing this problem is related to GPS Setting but not understanding.Please help me.
thanks in advance.......

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

奈何桥上唱咆哮 2024-09-26 03:31:07

确保您的 iPhone 4 上的“定位服务”已开启,并且“WhereAmI”可以使用定位服务。

Settings.app > General > Location Services 

在下图中,“ATM UK”和相机无法使用位置服务。

设置.app - 常规 - 位置服务

Make sure "Location Services" are turned on, on your iPhone 4 and "WhereAmI" can use location services.

Settings.app > General > Location Services 

In the below image "ATM UK" and Camera cannot use location services.

Settings.app - General - Location Services

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文