log
parent
7226ff6da6
commit
26552082ea
|
@ -34,6 +34,8 @@
|
|||
} else if ([mapClassStr isEqualToString:@"FATGDMapView"]) {
|
||||
apiName = @"FATGDExt_chooseLocation";
|
||||
}
|
||||
NSLog(@"sean=========FATExt_chooseLocation");
|
||||
|
||||
if (apiName) {
|
||||
id<FATApiProtocol> api = [self.class fat_apiWithApiClass:apiName params:self.param];
|
||||
if (api) {
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
return;
|
||||
}
|
||||
}
|
||||
NSLog(@"sean=========FATExt_choosePoi");
|
||||
|
||||
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
|
||||
if (status == 0) {
|
||||
//定位功能可用
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(handleNotification:) name:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE_END" object:nil];
|
||||
// FATAppletInfo *appInfo = [[FATClient sharedClient] currentApplet];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE" object:NULL userInfo:@{@"type":@"gteLocation"}];
|
||||
NSLog(@"sean=========FATExt_getLocation");
|
||||
|
||||
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
|
||||
if (status == 0) {
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
return;
|
||||
}
|
||||
}
|
||||
NSLog(@"sean=========FATExt_openLocation");
|
||||
|
||||
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
|
||||
if (status == 0) {
|
||||
|
|
Loading…
Reference in New Issue