I am trying to obtain GPS location. I am running the iOS simulator and setting a custom location

My header file I define the locationManager.

In my ViewController Class I synthesize the locationManager.

In my viewDidLoad I implement the locationManager

In my trigger Method, I try to log out the location data. I get 0.

2015-03-22 11:21:24.539 APP_NAME[50197:558692] Lat: 0
2015-03-22 11:21:24.540 APP_NAME[50197:558692] Long: 0
UPDATE
I just tested on my iPod touch and had the same problem.
No comments:
Post a Comment