I'm trying to use the injectLocationWith... method but doesn't change results obtained whith the distanceToUser() method of AR.GeoLocation.
I've put :
; NSLog(@" : %d", ); //return 1 ;
Just before the
In the ARViewController's viewWillAppear method.
Am I doing something wrong ?
about 5 years ago
I just made a quick test where I created 2 circles at different locations and then printed out the distances to the user. Then I injected a new location (about 20 km away) and printed again the distances of both circles. The result was as expected for me.
If you have still some troubles, don't hesitate to post your code or send it to email@example.com (Subject: InjectLocations).