//
// LocationManager.h
// Project
//
// Created by 杨殷杭 on 16/12/22.
//
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>

@interface LocationManager : NSObject
+ (void)locationManager:(CLLocationManager *)manager requestAccessForAuthorizationStatus:(CLAuthorizationStatus)status completionHandler:(void (^) (BOOL granted))completionHandler;
+ (void)locationManager:(CLLocationManager *)manager requestLocationWithCompletion:(void (^) (BOOL granted, CLLocation *location, NSError *error))completion;
@end
