iOS 6 and Location Services not working

2019-01-18 00:16发布

I've updated my iOS SDK to version 6. After that I've compiled my app (works fine in iOS 4 & iOS 5) but now the location services doesn't work. My delegate isn't receiving any update and the upper location arrow is not appearing... I'm starting the service as the usual way:

[locationManager startUpdatingLocation];

My project is non ARC.

What is happening? This is driving me crazy...

Thanks in advance.

8条回答
一纸荒年 Trace。
2楼-- · 2019-01-18 00:56

Just set the property pausesLocationUpdatesAutomatically of Location Manager to NO. This is a new feature of IOS 6 that disable Location Updates when application runs in background. The default value of this property is YES.

查看更多
爷的心禁止访问
3楼-- · 2019-01-18 00:56

The issue seems to be resolved in IOS 6.1 Beta2 - http://www.youtube.com/watch?v=aFZR0eMUV74

查看更多
登录 后发表回答