trying to use parses PFGeoPoint.geoPointForCurrentLocationInBackground
to get current location when i send something to my backend. The code looks like
NSLog("Before block")
PFGeoPoint.geoPointForCurrentLocationInBackground {
(geoPoint: PFGeoPoint!, error: NSError!) -> Void in
NSLog("inside block")
if !error {
// do something with the new geoPoint
}
}
and I never get my inside block on the console. I have Core Locations Framework installed and it allows me to do something like
let point = PFGeoPoint(latitude:40.0, longitude:-30.0)
If it helps i am not being requested for user location when I do the call above.