summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm-stephen <truestyle2005@163.com>2019-12-10 01:40:38 +0800
committerGitHub <noreply@github.com>2019-12-10 01:40:38 +0800
commit357c8f79105a9b98c11152f127fce00503e68ae4 (patch)
treebccd8727ac10af739c20d64d0cacb67c669635ce
parentf0df7bac980b5cb519a918f05e1be2c27e19a8b7 (diff)
downloadqtlocation-mapboxgl-357c8f79105a9b98c11152f127fce00503e68ae4.tar.gz
cancel judgement in .m
-rw-r--r--platform/darwin/src/native_apple_interface.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/darwin/src/native_apple_interface.m b/platform/darwin/src/native_apple_interface.m
index 4f0f300170..e12f06042b 100644
--- a/platform/darwin/src/native_apple_interface.m
+++ b/platform/darwin/src/native_apple_interface.m
@@ -20,7 +20,6 @@ static MGLNativeAppleInterfaceTransmitter *instance = nil;
return nil;
}
-#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR
- (NSString *)skuToken {
if(_delegate && [_delegate respondsToSelector:@selector(nai_skuToken)]) {
return [_delegate nai_skuToken];
@@ -34,7 +33,6 @@ static MGLNativeAppleInterfaceTransmitter *instance = nil;
}
return nil;
}
-#endif
- (void)startDownloadEvent:(NSString *)event type:(NSString *)type {
if (_delegate && [_delegate respondsToSelector:@selector(nai_startDownloadEvent:type:)]) {