diff options
author | M.Stephen <truestyle2005@163.com> | 2019-12-10 00:15:32 +0800 |
---|---|---|
committer | M.Stephen <truestyle2005@163.com> | 2019-12-10 00:15:32 +0800 |
commit | bc3fb0b1393e4c4bbbf8baa0b4fc1f7045e1b5ca (patch) | |
tree | 152afd653a4ca66edb72b8aac68fe4e7ed67341d | |
parent | 99f07389b55fe8fa86d146cd423ffc91a41c173f (diff) | |
download | qtlocation-mapboxgl-bc3fb0b1393e4c4bbbf8baa0b4fc1f7045e1b5ca.tar.gz |
modify name
-rw-r--r-- | platform/darwin/include/mbgl/interface/native_apple_interface.h | 4 | ||||
-rw-r--r-- | platform/darwin/src/native_apple_interface.m | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/platform/darwin/include/mbgl/interface/native_apple_interface.h b/platform/darwin/include/mbgl/interface/native_apple_interface.h index 8233769fbb..49838c5623 100644 --- a/platform/darwin/include/mbgl/interface/native_apple_interface.h +++ b/platform/darwin/include/mbgl/interface/native_apple_interface.h @@ -8,7 +8,7 @@ NS_ASSUME_NONNULL_BEGIN - (NSURLSessionConfiguration *)nai_sessionConfiguration; -- (NSString *)nai_accountType; +- (NSString *)nai_accountTypeKey; - (void)nai_startDownloadEvent:(NSString *)event type:(NSString *)type; @@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) NSURLSessionConfiguration *sessionConfiguration; -@property (nonatomic, readonly) NSString *accountType; +@property (nonatomic, readonly) NSString *accountTypeKey; @property (nonatomic, readonly) NSString *skuToken; diff --git a/platform/darwin/src/native_apple_interface.m b/platform/darwin/src/native_apple_interface.m index 925ed03d69..8b1a65f3ae 100644 --- a/platform/darwin/src/native_apple_interface.m +++ b/platform/darwin/src/native_apple_interface.m @@ -27,9 +27,9 @@ static MGLNativeAppleInterfaceTransmitter *instance = nil; return nil; } -- (NSString *)accountType { +- (NSString *)accountTypeKey { if (_delegate && [_delegate respondsToSelector:@selector(nai_accountType)]) { - return [_delegate nai_accountType]; + return [_delegate nai_accountTypeKey]; } return nil; } |