Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
iPhone - 如何通过基于度数的位置获取方向
首先 我在班级中实现了位置管理器功能 并且运行良好 并为我提供了当前位置 从那个位置我得到了如何获得位置度here http www switchonthecode com tutorials getting your location i
iphone
ios
CLLocationManager
cllocation 和 mkreversegeocoder
我尝试使用 cllocation 和 mkreversegeocoder 检索城市名称 在我的 viewdidload 方法中 我是 cllocationmanager self locManager CLLocationManager a
iphone
CLLocationManager
cllocation
mkreversegeocoder
iOS:应用程序在安装应用程序时不会征求用户的许可。每次都获取 kCLAuthorizationStatusNotDetermined - Objective-c 和 Swift
我正在尝试在我的 iOS 应用程序中获取用户位置 我首先在我的项目中包含了核心定位框架 然后单击按钮 我将调用核心位置 api 如下所示 当我尝试在设备中安装它时 核心位置从不询问用户许可 当我尝试获取单击按钮时的位置时 我得到 kCLAu
ios
GPS
corelocation
CLLocationManager
iOS地理围栏,监控开始时在区域内如何处理?
我一直无法弄清楚如何处理手机已经在某个区域内的情况startMonitoringForRegion叫做 其他问题建议致电requestStateForRegion inside didStartMonitoringForRegion然后调用
ios
CLLocationManager
geofencing
clregion
如何请求用户开启定位服务
我需要我的应用程序来访问用户的当前位置 它在应用程序开始时检查用户是否已设置 如果没有 我需要应用程序显示提示以使其使用位置服务 就像警报视图一样 点击按钮 它应该会带您进入 iPhone 上的位置服务屏幕 您可以通过以下代码检查 loca
ios
GPS
Xamarin
uialertview
CLLocationManager
iOS 13 检查 CLLocationManager 的临时授权状态
根据 WWDC 视频 https developer apple com videos play wwdc2019 705 https developer apple com videos play wwdc2019 705 当你要求 Al
ios
swift
CLLocationManager
ios13
NSOperation 中委托的使用
我正在尝试利用CLLocationManager in an NSOperation 作为其中的一部分 我需要能够startUpdatingLocation然后等到收到 CLLocation 后才完成操作 目前我已经完成了以下操作 但是委托
ios
Objectivec
CLLocationManager
nsoperation
检查系统时间是自动还是用户设置
我需要在当前的项目中设置用户证明时间 我围绕这个问题发现了很多不同的问题 但似乎没有一个问题有我正在寻找的答案 这些是我到目前为止看过的问题 XCODE 如何从设备获取 验证准确的时间戳 https stackoverflow com qu
ios
Objectivec
NSdate
CLLocationManager
IOS 8 CLLocationManager 问题(授权不起作用)
import MyLocationViewController h define NSLog FORMAT printf s n NSString stringWithFormat FORMAT VA ARGS UTF8String int
ios
CLLocationManager
当前位置在 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
1
2
3
4
5
»