FakeLocationManager.m 1007 Bytes
//
//  FakeLocationManager.m
//  YH_Analytics
//
//  Created by Zhou Rongjun on 15/4/20.
//  Copyright (c) 2015年 YOHO. All rights reserved.
//

#import "FakeLocationManager.h"

@implementation FakeLocationManager

- (void)startUpdatingLocation
{
    
}

- (void)changeAuthorizationStatus:(CLAuthorizationStatus)status
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(locationManager:didChangeAuthorizationStatus:)]) {
        [self.delegate locationManager:self didChangeAuthorizationStatus:status];
    }
}

- (void)updateLocations:(NSArray *)locations
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(locationManager:didUpdateLocations:)]) {
        [self.delegate locationManager:self didUpdateLocations:locations];
    }
}

- (void)failedLocation:(NSError *)error
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(locationManager:didFailWithError:)]) {
        [self.delegate locationManager:self didFailWithError:error];
    }
}

@end