@implementation CLLocationManager (TemporaryHack)
- (void)hackLocationFix
{
CLLocation *location = [[CLLocation alloc] initWithLatitude:37.785834 longitude:-122.406417];
[[self delegate] locationManager:self didUpdateToLocation:location fromLocation:nil];
}
- (void)startUpdatingLocation
{
[self performSelector:@selector(hackLocationFix) withObject:nil afterDelay:0.1];
}
@end
SElect all code and paste in AppDelegate.m file before or after
@implementation AppDelegate
@end
I am not a good teacher if you have any question you may ask again