Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
当前位置在 Google 地图中不起作用
我在 swift 3 中集成了谷歌地图 当地图屏幕出现而不显示当前位置时 我在 plist 文件中添加了两个键 并设置了 CLLocationManager delegate 和 requestAlwaysAuthorization cla
ios
swift
googlemaps
swift3
CLLocationManager
在 iOS 8 上本地化用户
你好 我开始将我的应用程序移植到 iOS 8 但很快我就遇到了 CLLocationManager 的问题 基本上 该应用程序不再将地图集中在用户位置上 而是提出错误 尝试启动 MapKit 位置更新而不提示位置授权 必须首先调用 CLLo
CLLocationManager
iOS8
ios 中的位置时间戳精度
在分析 iOS 10 中的位置服务后 发现缓存行为存在一些不一致 定期 在我的例子中每 20 秒 获取位置会返回位置 但它们的时间戳不按时间顺序排列 这表明缓存位置可能有问题 因此 如果您通过位置时间戳检查准确性 最好也保存以前的时间戳 这
ios
CLLocationManager
iOS10
cllocation
在数组中查找距用户位置最近的经度和纬度
我有一个充满经度和纬度的数组 我的用户位置有两个双变量 我想根据我的阵列测试用户位置之间的距离 看看哪个位置最近 我该怎么做呢 这将得到两个位置之间的距离 但很难理解 我如何针对一系列位置对其进行测试 CLLocation startLoc
ios
Objectivec
MKMapView
CLLocationManager
cllocationdistance
CLLocationManagerDelegate 协议中的挂钩
我已经 3 天遇到问题了 我想在 CLLocationManagerDelegate 协议中挂钩此方法 void locationManager CLLocationManager manager didUpdateLocations NS
delegates
hook
CLLocationManager
jailbreak
locationServicesEnabled 始终返回 YES
我测试了我的设备 iPod Touch 2G iOS 4 1 是否启用了位置服务 permitted locationManager locationServicesEnabled 无论是否启用定位服务 我总是得到 是 我说的是位置服务的通
iphone
Objectivec
cocoatouch
CLLocationManager
didEnterRegion 以更大的半径调用(iOS)
我希望更精确地调用 didEnterRegion 但我无法做到这一点 以下是我所做的 我使用了 distanceFilter 和desiredAccuracy 的最佳值 Apple 提供的最精确的 GPS 设置 并设置了目标 CLCircu
ios
CLLocationManager
clregion
didUpdateToLocation 未调用
我想接收位置更新 我已将位置委托添加到标头 interface AppDelegate UIResponder
iphone
Objectivec
xcode
cocoatouch
CLLocationManager
CLLocationManager 坐标
我一直致力于实现步行 骑自行车和开车的路线跟踪图 然而 正如您在下面的屏幕截图中看到的那样 即使我没有步行 骑自行车或开车前往该位置 我的坐标也会时不时地突然跳跃 在图像上画了圆圈来指出问题 我的问题是为什么坐标突然跳跃 这是我的实施快照
ios
Objectivec
xcode
corelocation
CLLocationManager
当飞行模式打开时 CLLocationManager 如何获取位置
我的应用程序使用 CLLocationManager 从设备获取位置更新 我曾假设当设备处于飞行模式时 我不会获得位置更新 但是我愿意 我之所以这么认为 是因为 Apple 表示飞行模式会关闭 Wifi 蜂窝网络 蓝牙和 GPS 看 htt
iphone
ios
corelocation
CLLocationManager
locationManager:didFailWithError: 如果用户定位服务关闭,则不会调用
从文档中位置管理器 didFailWithError http developer apple com library ios documentation CoreLocation Reference CLLocationManagerDe
ios
CLLocationManager
一段时间后未调用 CLLocationManager didUpdateToLocation
我正在尝试记录用户随时间的位置 如果用户在移动 则它可以正常工作 并且委托方法 didUpdateToLocation 会被可靠地调用 但是 如果用户静止并且应用程序在后台运行 那么在一段时间后 将不再调用委托方法 要重新启动它 需要将该应
iphone
ios
CLLocationManager
iOS 14 - 当精确位置权限被拒绝时,如何让 iBeacon 唤醒应用程序?
我之前在使用 iOS 14 0 时遇到了以下问题 通过后台位置权限我可以 注册iBeacon区域监控 从应用程序切换器杀死该应用程序 点击屏幕即可看到应用程序在控制台中重新启动 应用程序正在运行但不在应用程序切换器中 使用 iOS14 重新
CLLocationManager
ibeacon
backgroundtask
ios14
regionmonitoring
在 Swift 中显示当前位置并更新 MKMapView 中的位置
我正在学习如何使用新的 Swift 语言 只有 Swift 没有 Objective C 为此 我想用地图做一个简单的视图 MKMapView 我想查找并更新用户的位置 就像在 Apple 地图应用程序中一样 我尝试了这个 但什么也没发生
ios
swift
MKMapView
CLLocationManager
iOS CoreLocation 检查 CLLocation 时间戳以使用它
如何检查 CLLocation 对象并决定是要使用它还是丢弃结果并获取新的位置更新 我在 CLLocation 上看到了时间戳属性 但我不确定如何将其与当前时间进行比较 另外 在我比较时间并发现以秒为单位的差异之后 差异应该在什么值以下才能
iphone
ios
NSdate
corelocation
CLLocationManager
我可以使用 Xcode 模拟器测试重大变化吗?
我想知道是否可以在 Xcode Simulator 中测试重大更改位置服务 startMonitoringSignificantLocationChanges 方法 或者它仅适用于实际设备 请注意 我已经在模拟器中尝试过它 但它不起作用 但
ios
corelocation
CLLocationManager
iOS Geofence CLCircularRegion 监控。 locationManager:didExitRegion 似乎没有按预期工作
我目前正在尝试让我的应用程序使用以下方式监视特定区域CoreLocation然而我发现它似乎没有按预期工作 在我看来 它不能在每个位置设置较小的小半径 即 10m 的情况下工作 我还制作了一个小测试应用程序 它绘制了圆半径在地图上 这样我就
ios
corelocation
CLLocationManager
geofencing
clcircleregion
GPS 应用程序在 iOS 5 上停止工作 - 位置管理器未更新
我开发了一个针对 iOS 4 3 的应用程序 效果很好 但自从我迁移到 iOS 5 0 以来 该应用程序开始表现出奇怪的行为 位置管理器不显示位置变化的更新 有人遇到过这种问题吗 谢谢你的帮助 我与 CLLocation 经理共享票价 出现
Objectivec
ios5
GPS
CLLocationManager
从用户位置查找数组中最接近的经度和纬度 - iOS Swift
在发布的问题中here https stackoverflow com questions 24783442 find closest longitude and latitude in array from user location a
ios
swift
googlemaps
CLLocationManager
cllocationdistance
startMonitoringSignificantLocationChanges 和 startUpdatingLocation 如何相互影响?
如果我打电话会发生什么startUpdatingLocation while startMonitoringSignificantLocationChanges在跑 重要的位置变化监控是否停止 如果我那么stopUpdatingLocati
ios
ios5
corelocation
CLLocationManager
1
2
3
4
5
»