iOS 6 and Location Services not working

后端 未结 8 2107
走了就别回头了
走了就别回头了 2020-12-09 13:29

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 wo

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-09 14:14

    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.

提交回复
热议问题