cllocationmanager - 定位服务在 iOS 6 中不工作

标签 cllocationmanager ios6

Possible Duplicate:
iOS 6 and Location Services not working

我们应用程序的位置服务已在 iOS 6 中停止运行。它们在 iOS 5 中工作正常。当我调用 CLLocationManager 的 startUpdatingLocation 方法时,它永远不会提示用户进行访问,并且我们的应用程序不会显示在“设置位置服务”页面中。

有人见过这个吗?我真的不知道该去哪里看。我尝试将我们的应用程序剥离为单个 View Controller ,但它仍然无法工作。也许是build设置中的某些内容?

编辑: 我创建了一个新目标,它可以在其中运行。

最佳答案

看起来问题是我们没有在 .plist 文件中声明 CFBundleDisplayName。我们有 CFBundleName,但没有 CFBundleDisplayName。

关于cllocationmanager - 定位服务在 iOS 6 中不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12519733/

相关文章:

iphone - iOS 6 map - 无法找到方向

ios - 带外部 GPS 的 CLLocationManager/MKMapView

swift - 没有调用 did Update To 位置

iphone - startUpdatingMyLocation是否强制调用iphone sdk中位置管理器的didUpdateToLocation方法

ios - iOS 上的标准位置服务耗电

ios6 - numberOfRowsInSection 不为自定义 tableviewcell、委托(delegate)/数据源集运行

uiviewcontroller - 子内容 View Controller View 的 Storyboard的边界大小错误?

objective-c - 如何在iOS 6 的UICollectionView 中实现无限水平和垂直滚动?

ios - iOS 6与iOS 7开发

xcode - 如何使用延迟位置 iOS 6?