1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #import <Foundation/Foundation.h>
- #import <CoreLocation/CoreLocation.h>
- @protocol CCManageLocationDelegate
- @optional
- - (void)statusAuthorizationLocationChanged;
- - (void)changedLocation;
- @end
- @interface CCManageLocation : NSObject <CLLocationManagerDelegate>
- @property CLLocationManager *locationManager;
- @property BOOL firstChangeAuthorizationDone;
- @property (nonatomic,weak) __weak id<CCManageLocationDelegate> delegate;
- + (CCManageLocation *)shared;
- - (void)startSignificantChangeUpdates;
- - (void)stopSignificantChangeUpdates;
- @end
|