didUpdateLocation Method Never Called

后端 未结 6 892
南旧
南旧 2021-01-05 10:40

I am making one app on iphone sdk4.0.In that did update location method never called. I have given my code below.Please help.Thanks in advance.

-(id)init
{
          


        
6条回答
  •  囚心锁ツ
    2021-01-05 10:55

    Does -locationManager:didFailWithError: in your delegate ever get called? Maybe you denied access to location data at some point and now don't get prompted, but access is denied.

提交回复
热议问题