summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm-stephen <truestyle2005@163.com>2019-12-10 01:39:43 +0800
committerGitHub <noreply@github.com>2019-12-10 01:39:43 +0800
commit5cd5aff9e902a13a6e280fbd3a44b282e32313a3 (patch)
tree316fdc65349edf0c203a130aedc6c765a3e22f91
parentecf76fe2414996ce876bea1688f6646c502b9004 (diff)
downloadqtlocation-mapboxgl-5cd5aff9e902a13a6e280fbd3a44b282e32313a3.tar.gz
cancel iOS/mac OS judgement
-rw-r--r--platform/darwin/include/mbgl/interface/native_apple_interface.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/darwin/include/mbgl/interface/native_apple_interface.h b/platform/darwin/include/mbgl/interface/native_apple_interface.h
index 9bdb4600b4..f13e0ea729 100644
--- a/platform/darwin/include/mbgl/interface/native_apple_interface.h
+++ b/platform/darwin/include/mbgl/interface/native_apple_interface.h
@@ -6,13 +6,9 @@ NS_ASSUME_NONNULL_BEGIN
@optional
-#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR
-
- (NSString *)nai_skuToken;
- (NSString *)nai_accountTypeKey;
-#endif
-
@required
- (NSURLSessionConfiguration *)nai_sessionConfiguration;
@@ -33,10 +29,8 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, weak) id<MGLNativeAppleInterfaceDelegate> delegate;
-#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR
@property (nonatomic, readonly) NSString *accountTypeKey;
@property (nonatomic, readonly) NSString *skuToken;
-#endif
@property (nonatomic, readonly) NSURLSessionConfiguration *sessionConfiguration;