diff --git a/assets/image/2x/activity_q.png b/assets/image/2x/activity_q.png index 98422818..3b30e5d3 100644 Binary files a/assets/image/2x/activity_q.png and b/assets/image/2x/activity_q.png differ diff --git a/assets/image/2x/yao_q.png b/assets/image/2x/yao_q.png new file mode 100644 index 00000000..0a43148e Binary files /dev/null and b/assets/image/2x/yao_q.png differ diff --git a/assets/image/3x/activity_q.png b/assets/image/3x/activity_q.png index abd4589d..5d82dfa7 100644 Binary files a/assets/image/3x/activity_q.png and b/assets/image/3x/activity_q.png differ diff --git a/assets/image/3x/yao_q.png b/assets/image/3x/yao_q.png new file mode 100644 index 00000000..cabb787d Binary files /dev/null and b/assets/image/3x/yao_q.png differ diff --git a/assets/image/activity_q.png b/assets/image/activity_q.png index 46742d63..31b4621a 100644 Binary files a/assets/image/activity_q.png and b/assets/image/activity_q.png differ diff --git a/assets/image/yao_q.png b/assets/image/yao_q.png new file mode 100644 index 00000000..d683294c Binary files /dev/null and b/assets/image/yao_q.png differ diff --git a/ios/Class/UniappPlugin.h b/ios/Class/UniappPlugin.h deleted file mode 100644 index 3a115d7b..00000000 --- a/ios/Class/UniappPlugin.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// UniappPlugin.h -// Runner -// -// Created by tangziyang on 2021/7/6. -// - -#ifndef UniappPlugin_h -#define UniappPlugin_h - -#import "DCUniMP.h" -#import -//#import "AFNetworking.h" - -#endif /* UniappPlugin_h */ - -@interface UniappPlugin:NSObject - --(void)open:(NSString*)appid url:(NSString*)wgtUrl param:(NSDictionary*)dict block:(void (^)(void))block; - --(void)openUniApp:(NSString *)name dict:(NSDictionary *)dict; - -//-(void)downloadWgt:(NSString *)url appid:(NSString*)appid block:(void (^)(NSString * tips))block success:(void (^)(void))success; -@end diff --git a/ios/Class/UniappPlugin.m b/ios/Class/UniappPlugin.m deleted file mode 100644 index c84f608a..00000000 --- a/ios/Class/UniappPlugin.m +++ /dev/null @@ -1,78 +0,0 @@ -// -// UniappPlugin.m -// Runner -// -// Created by tangziyang on 2021/7/6. -// - -#import "UniappPlugin.h" -#import - -@implementation UniappPlugin - --(void)open:(NSString *)appid url:(NSString *)wgtUrl param:(NSDictionary *)dict block:(void (^)(void))block{ - if (![DCUniMPSDKEngine isExistsApp:appid]) { - //不存在准备下载 -// [self downloadWgt:wgtUrl appid:appid block:nil success:^{ -// [self openUniApp:appid dict:dict]; -// }]; - }else{ - [self openUniApp:appid dict:dict]; - } -} - - --(void)openUniApp:(NSString *)name dict:(NSDictionary *)dict{ - DCUniMPConfiguration *configuration = [[DCUniMPConfiguration alloc] init]; - [configuration setShowAnimated:YES]; - [configuration setHideAnimated:YES]; - [configuration setOpenMode:DCUniMPOpenModePresent]; - [configuration setEnableGestureClose:YES]; - [configuration setArguments:dict]; - [DCUniMPSDKEngine openUniMP:name configuration:configuration completed:^(DCUniMPInstance * _Nullable uniMPInstance, NSError * _Nullable error) { - if (uniMPInstance) { - NSLog(@"打开成功"); - }else{ - NSLog(@"打开失败:%@",error); - } - }]; -} - - -//-(void)downloadWgt:(NSString *)url appid:(NSString *)appid block:(void (^)(NSString *))block success:(void (^)(void))success{ -// NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration]; -// AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration]; -// NSLog(@"url:%@",url); -// NSURL *URL = [NSURL URLWithString:url]; -// NSURLRequest *request = [NSURLRequest requestWithURL:URL]; -// -// NSURLSessionDownloadTask *downloadTask = [manager downloadTaskWithRequest:request progress:^(NSProgress * _Nonnull downloadProgress) { -// // -// NSLog(@"downloadProgress:%f",downloadProgress.fractionCompleted); -// //block([NSString stringWithFormat:@"loading...%f",downloadProgress.fractionCompleted]); -// } destination:^NSURL * _Nonnull(NSURL * _Nonnull targetPath, NSURLResponse * _Nonnull response) { -// NSURL *documentsDirectoryURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil]; -// return [documentsDirectoryURL URLByAppendingPathComponent:[response suggestedFilename]]; -// } completionHandler:^(NSURLResponse * _Nonnull response, NSURL * _Nullable filePath, NSError * _Nullable error) { -// NSLog(@"File downloaded to: %@", filePath); -// if ([DCUniMPSDKEngine releaseAppResourceToRunPathWithAppid:appid resourceFilePath:filePath.path]) { -// NSLog(@"应用资源文件部署成功"); -// //直接打开 -// success(); -// } -// }]; -// [downloadTask resume]; -//} - - --(void)uniMPOnClose:(NSString *)appid{ - NSLog(@"小程序关闭"); -} - --(void)defaultMenuItemClicked:(NSString *)identifier{ - NSLog(@"胶囊点击"); -} - - -@end - diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 6e58a0cb..5e35f588 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -44,9 +44,6 @@ PODS: - fluwx (0.0.1): - Flutter - WechatOpenSDK_Fuck (~> 1.9.2) - - FMDB (2.7.5): - - FMDB/standard (= 2.7.5) - - FMDB/standard (2.7.5) - image_pickers (0.0.1): - AFNetworking - Flutter @@ -143,9 +140,6 @@ PODS: - mob_sharesdk/ShareSDKPlatforms/WatermelonVideo (4.4.0): - mob_sharesdk/ShareSDK - MOBFoundation (>= 3.2.9) - - mob_sharesdk/ShareSDKPlatforms/WeChat_Lite (4.4.0): - - mob_sharesdk/ShareSDK - - MOBFoundation (>= 3.2.9) - mob_sharesdk/ShareSDKPlatforms/WhatsApp (4.4.0): - mob_sharesdk/ShareSDK - MOBFoundation (>= 3.2.9) @@ -213,9 +207,6 @@ PODS: - mob_sharesdk/ShareSDKRestoreScene - mob_sharesdk/ShareSDKUI - WechatOpenSDK_Fuck (~> 1.9.2) - - sqflite (0.0.2): - - Flutter - - FMDB (>= 2.7.5) - SSZipArchive (2.4.2) - thumbnails (0.0.1): - Flutter @@ -225,7 +216,7 @@ PODS: - TPNS-iOS (= 1.3.3.0) - url_launcher (0.0.1): - Flutter - - video_player (0.0.1): + - video_player_avfoundation (0.0.1): - Flutter - wakelock (0.0.1): - Flutter @@ -250,12 +241,11 @@ DEPENDENCIES: - scan (from `.symlinks/plugins/scan/ios`) - shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`) - sharesdk_plugin (from `.symlinks/plugins/sharesdk_plugin/ios`) - - sqflite (from `.symlinks/plugins/sqflite/ios`) - SSZipArchive (~> 2.4.2) - thumbnails (from `.symlinks/plugins/thumbnails/ios`) - tpns_flutter_plugin (from `.symlinks/plugins/tpns_flutter_plugin/ios`) - url_launcher (from `.symlinks/plugins/url_launcher/ios`) - - video_player (from `.symlinks/plugins/video_player/ios`) + - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/ios`) - wakelock (from `.symlinks/plugins/wakelock/ios`) - webview_flutter (from `.symlinks/plugins/webview_flutter/ios`) @@ -264,7 +254,6 @@ SPEC REPOS: - AFNetworking - BaiduMapKit - BMKLocationKit - - FMDB - mob_sharesdk - MOBFoundation - SDWebImage @@ -302,16 +291,14 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/shared_preferences_ios/ios" sharesdk_plugin: :path: ".symlinks/plugins/sharesdk_plugin/ios" - sqflite: - :path: ".symlinks/plugins/sqflite/ios" thumbnails: :path: ".symlinks/plugins/thumbnails/ios" tpns_flutter_plugin: :path: ".symlinks/plugins/tpns_flutter_plugin/ios" url_launcher: :path: ".symlinks/plugins/url_launcher/ios" - video_player: - :path: ".symlinks/plugins/video_player/ios" + video_player_avfoundation: + :path: ".symlinks/plugins/video_player_avfoundation/ios" wakelock: :path: ".symlinks/plugins/wakelock/ios" webview_flutter: @@ -328,7 +315,6 @@ SPEC CHECKSUMS: flutter_baidu_mapapi_utils: a5bd582b91ecd35be1bc45558b38f49d5684f70a flutter_bmflocation: 12f1ba91bae4b16d78d4f475023e0254ed351f1c fluwx: 02670633ce7509206f62b366e9734e7dda81e100 - FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a image_pickers: 5e6ec7083f9363d014c0fb061f1b9cd97bb5e451 mob_sharesdk: c771f001e00739d24301a9fa250247601efe7a3c MOBFoundation: 2abd23c80c33d1337d30dc4b0018ed914cef8f8e @@ -337,15 +323,14 @@ SPEC CHECKSUMS: permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0 scan: aea35bb4aa59ccc8839c576a18cd57c7d492cc86 SDWebImage: 4dc3e42d9ec0c1028b960a33ac6b637bb432207b - shared_preferences_ios: aef470a42dc4675a1cdd50e3158b42e3d1232b32 - sharesdk_plugin: 31d5b9be9522985da8e3a90ff73f6e12e62f9049 - sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 + shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad + sharesdk_plugin: eda37b6eee2c0af21d3ee5e9c56f85ac538a9884 SSZipArchive: e7b4f3d9e780c2acc1764cd88fbf2de28f26e5b2 thumbnails: df4b2db0d4030d134e7665da9c3060b0d78726fe TPNS-iOS: 57a146496858ba2fb5d43e5f240feb19243b69cb - tpns_flutter_plugin: a366649c8ad71f19dfb864d3c994ed0480b69daa + tpns_flutter_plugin: ee51c5d85993cee1dba9a1caa0eb22270a71f988 url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef - video_player: ecd305f42e9044793efd34846e1ce64c31ea6fcb + video_player_avfoundation: e489aac24ef5cf7af82702979ed16f2a5ef84cff wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f webview_flutter: 5fb4def2bbd4339889ee14d045b605cefc5bc232 WechatOpenSDK_Fuck: aa8f4b0af902837e887a1d40c62f06c060c1dc98 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 158dfa11..127c485d 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -8,28 +8,11 @@ /* Begin PBXBuildFile section */ 0558860326BD10CA00FB1CFE /* test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0558860226BD10CA00FB1CFE /* test.swift */; }; - 05C5426026BB9CEB00D26AC2 /* liblibIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33A2695816000237A5E /* liblibIO.a */; }; 05C5426F26BBE8FE00D26AC2 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F373269581F600237A5E /* CoreLocation.framework */; }; 05C5427126BBE93600D26AC2 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05C5427026BBE93600D26AC2 /* AdSupport.framework */; }; 05C5427426BCE3AC00D26AC2 /* BMKLocationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05C5427326BCE3AC00D26AC2 /* BMKLocationKit.framework */; }; 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 6EE8F3452695816000237A5E /* __uniappes6.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E62695815A00237A5E /* __uniappes6.js */; }; - 6EE8F3462695816000237A5E /* uni-jsframework.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E72695815A00237A5E /* uni-jsframework.js */; }; - 6EE8F3472695816000237A5E /* PandoraApi.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E82695815A00237A5E /* PandoraApi.bundle */; }; - 6EE8F3482695816000237A5E /* unincomponents.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E92695815A00237A5E /* unincomponents.ttf */; }; - 6EE8F3492695816000237A5E /* weex-polyfill.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2EA2695815A00237A5E /* weex-polyfill.js */; }; - 6EE8F34A2695816000237A5E /* weexUniJs.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2EB2695815A00237A5E /* weexUniJs.js */; }; - 6EE8F34B2695816000237A5E /* libSDWebImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3392695816000237A5E /* libSDWebImage.a */; }; - 6EE8F34D2695816000237A5E /* liblibWeex.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33B2695816000237A5E /* liblibWeex.a */; }; - 6EE8F34E2695816000237A5E /* liblibPDRCore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33C2695816000237A5E /* liblibPDRCore.a */; }; - 6EE8F34F2695816000237A5E /* liblibNativeUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33D2695816000237A5E /* liblibNativeUI.a */; }; - 6EE8F3502695816000237A5E /* liblibUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33E2695816000237A5E /* liblibUI.a */; }; - 6EE8F3522695816000237A5E /* liblibStorage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3402695816000237A5E /* liblibStorage.a */; }; - 6EE8F3532695816000237A5E /* liblibPGInvocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3412695816000237A5E /* liblibPGInvocation.a */; }; - 6EE8F3542695816000237A5E /* liblibNavigator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3422695816000237A5E /* liblibNavigator.a */; }; - 6EE8F3552695816000237A5E /* storage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3432695816000237A5E /* storage.framework */; }; - 6EE8F3562695816000237A5E /* liblibNativeObj.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3442695816000237A5E /* liblibNativeObj.a */; }; 6EE8F3582695818800237A5E /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3572695818800237A5E /* JavaScriptCore.framework */; }; 6EE8F35B2695819500237A5E /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3592695819500237A5E /* MediaPlayer.framework */; }; 6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F35A2695819500237A5E /* CoreMedia.framework */; }; @@ -46,31 +29,9 @@ 6EE8F372269581F100237A5E /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F371269581F100237A5E /* AssetsLibrary.framework */; }; 6EE8F376269581FB00237A5E /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F375269581FB00237A5E /* AddressBook.framework */; }; 6EE8F3782695820600237A5E /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3772695820600237A5E /* libiconv.tbd */; }; - 6EE8F37F269582C200237A5E /* UniappPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EE8F37E269582C200237A5E /* UniappPlugin.m */; }; - 89319A6F26E237A5001EFBD7 /* __uniappes6.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6826E237A5001EFBD7 /* __uniappes6.js */; }; - 89319A7026E237A5001EFBD7 /* uni-jsframework.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6926E237A5001EFBD7 /* uni-jsframework.js */; }; - 89319A7126E237A5001EFBD7 /* PandoraApi.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6A26E237A5001EFBD7 /* PandoraApi.bundle */; }; - 89319A7226E237A5001EFBD7 /* unincomponents.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6B26E237A5001EFBD7 /* unincomponents.ttf */; }; - 89319A7326E237A5001EFBD7 /* userPosition@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6C26E237A5001EFBD7 /* userPosition@2x.png */; }; - 89319A7426E237A5001EFBD7 /* weex-polyfill.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6D26E237A5001EFBD7 /* weex-polyfill.js */; }; - 89319A7526E237A5001EFBD7 /* weexUniJs.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6E26E237A5001EFBD7 /* weexUniJs.js */; }; 899C4C3C26A5179900B44087 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 899C4C3E26A5179900B44087 /* InfoPlist.strings */; }; - 89A6269F26A7F6D30004A8F0 /* liblibPayment.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A6269E26A7F6D30004A8F0 /* liblibPayment.a */; }; - 89A626A126A7F6E30004A8F0 /* libwxpay.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A026A7F6E30004A8F0 /* libwxpay.a */; }; 89A626A526A7F71A0004A8F0 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A426A7F71A0004A8F0 /* libsqlite3.0.tbd */; }; - 89A626A726A7FF910004A8F0 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A626A7FF910004A8F0 /* libWeChatSDK.a */; }; - 89A626AC26A8002F0004A8F0 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */; }; - 89A626B026A80E520004A8F0 /* AMapFoundationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4226A6800800DD2817 /* AMapFoundationKit.framework */; }; - 89A626B126A80E520004A8F0 /* AMapLocationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8C26A699A000DD2817 /* AMapLocationKit.framework */; }; - 89A626B226A80E520004A8F0 /* libAMapLocationPlugin.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8826A6996300DD2817 /* libAMapLocationPlugin.a */; }; - 89A626B326A80E520004A8F0 /* liblibGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8A26A6997E00DD2817 /* liblibGeolocation.a */; }; - 89AEFA3926A67F8400DD2817 /* libDCUniAmap.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3826A67F8400DD2817 /* libDCUniAmap.a */; }; - 89AEFA3B26A67F9C00DD2817 /* libDCUniMap.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3A26A67F9C00DD2817 /* libDCUniMap.a */; }; - 89AEFA3D26A67FB100DD2817 /* DCUniVideoPublic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3C26A67FB100DD2817 /* DCUniVideoPublic.framework */; }; - 89AEFA3F26A67FBD00DD2817 /* AMapSearchKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3E26A67FBD00DD2817 /* AMapSearchKit.framework */; }; - 89AEFA4126A67FF100DD2817 /* MAMapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4026A67FF100DD2817 /* MAMapKit.framework */; }; 89AEFA4526A6802000DD2817 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4426A6802000DD2817 /* MapKit.framework */; }; - 89AEFA8426A684D800DD2817 /* userPosition@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 89AEFA8226A684D700DD2817 /* userPosition@2x.png */; }; 89AEFA8F26A699DE00DD2817 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8E26A699DE00DD2817 /* libz.tbd */; }; 89AEFA9126A69A2200DD2817 /* ExternalAccessory.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA9026A69A2200DD2817 /* ExternalAccessory.framework */; }; 89AEFA9326A69A3600DD2817 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA9226A69A3600DD2817 /* Security.framework */; }; @@ -106,98 +67,6 @@ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 5EF160A708FC02BF05CE1076 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 6EE8F2E62695815A00237A5E /* __uniappes6.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = __uniappes6.js; sourceTree = ""; }; - 6EE8F2E72695815A00237A5E /* uni-jsframework.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "uni-jsframework.js"; sourceTree = ""; }; - 6EE8F2E82695815A00237A5E /* PandoraApi.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = PandoraApi.bundle; sourceTree = ""; }; - 6EE8F2E92695815A00237A5E /* unincomponents.ttf */ = {isa = PBXFileReference; lastKnownFileType = text; path = unincomponents.ttf; sourceTree = ""; }; - 6EE8F2EA2695815A00237A5E /* weex-polyfill.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "weex-polyfill.js"; sourceTree = ""; }; - 6EE8F2EB2695815A00237A5E /* weexUniJs.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = weexUniJs.js; sourceTree = ""; }; - 6EE8F2ED2695815C00237A5E /* DCUniMPSDKEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPSDKEngine.h; sourceTree = ""; }; - 6EE8F2EE2695815C00237A5E /* DCUniMP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMP.h; sourceTree = ""; }; - 6EE8F2EF2695815C00237A5E /* DCUniMPConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPConfiguration.h; sourceTree = ""; }; - 6EE8F2F02695815C00237A5E /* DCUniMPInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPInstance.h; sourceTree = ""; }; - 6EE8F2F22695815C00237A5E /* WXModuleProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXModuleProtocol.h; sourceTree = ""; }; - 6EE8F2F32695815C00237A5E /* WXResourceLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceLoader.h; sourceTree = ""; }; - 6EE8F2F42695815C00237A5E /* WXApmForInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApmForInstance.h; sourceTree = ""; }; - 6EE8F2F52695815C00237A5E /* WXWebSocketHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXWebSocketHandler.h; sourceTree = ""; }; - 6EE8F2F62695815C00237A5E /* WXImgLoaderProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXImgLoaderProtocol.h; sourceTree = ""; }; - 6EE8F2F72695815C00237A5E /* WXComponentManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXComponentManager.h; sourceTree = ""; }; - 6EE8F2F82695815C00237A5E /* WXScrollerProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXScrollerProtocol.h; sourceTree = ""; }; - 6EE8F2F92695815C00237A5E /* WXRichText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRichText.h; sourceTree = ""; }; - 6EE8F2FA2695815C00237A5E /* WXView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXView.h; sourceTree = ""; }; - 6EE8F2FB2695815C00237A5E /* WXValidateProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXValidateProtocol.h; sourceTree = ""; }; - 6EE8F2FC2695815C00237A5E /* WXDefine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXDefine.h; sourceTree = ""; }; - 6EE8F2FD2695815C00237A5E /* JSContext+Weex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "JSContext+Weex.h"; sourceTree = ""; }; - 6EE8F2FE2695815C00237A5E /* WXExtendCallNativeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXExtendCallNativeProtocol.h; sourceTree = ""; }; - 6EE8F2FF2695815C00237A5E /* WXSDKEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKEngine.h; sourceTree = ""; }; - 6EE8F3002695815C00237A5E /* style.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = style.h; sourceTree = ""; }; - 6EE8F3012695815C00237A5E /* WXResourceRequestHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceRequestHandler.h; sourceTree = ""; }; - 6EE8F3022695815C00237A5E /* WXDisplayLinkManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXDisplayLinkManager.h; sourceTree = ""; }; - 6EE8F3032695815C00237A5E /* WXUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXUtility.h; sourceTree = ""; }; - 6EE8F3042695815C00237A5E /* WXResourceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceRequest.h; sourceTree = ""; }; - 6EE8F3052695815C00237A5E /* WXConvert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXConvert.h; sourceTree = ""; }; - 6EE8F3062695815C00237A5E /* WXPageEventNotifyEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXPageEventNotifyEvent.h; sourceTree = ""; }; - 6EE8F3072695815C00237A5E /* WXSDKInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKInstance.h; sourceTree = ""; }; - 6EE8F3082695815C00237A5E /* WXSDKManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKManager.h; sourceTree = ""; }; - 6EE8F3092695815C00237A5E /* WXDebugTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXDebugTool.h; sourceTree = ""; }; - 6EE8F30A2695815C00237A5E /* WXType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXType.h; sourceTree = ""; }; - 6EE8F30B2695815C00237A5E /* WXApmProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApmProtocol.h; sourceTree = ""; }; - 6EE8F30C2695815C00237A5E /* WXJSFrameworkLoadProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXJSFrameworkLoadProtocol.h; sourceTree = ""; }; - 6EE8F30D2695815C00237A5E /* WXExceptionUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXExceptionUtils.h; sourceTree = ""; }; - 6EE8F30E2695815C00237A5E /* WXIndicatorComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXIndicatorComponent.h; sourceTree = ""; }; - 6EE8F30F2695815C00237A5E /* WXErrorView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXErrorView.h; sourceTree = ""; }; - 6EE8F3102695815C00237A5E /* NSObject+WXSwizzle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+WXSwizzle.h"; sourceTree = ""; }; - 6EE8F3112695815C00237A5E /* WXMonitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXMonitor.h; sourceTree = ""; }; - 6EE8F3122695815C00237A5E /* WXSDKInstance+DCExtend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WXSDKInstance+DCExtend.h"; sourceTree = ""; }; - 6EE8F3132695815C00237A5E /* WXRecyclerComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRecyclerComponent.h; sourceTree = ""; }; - 6EE8F3142695815C00237A5E /* WXScrollerComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXScrollerComponent.h; sourceTree = ""; }; - 6EE8F3152695815C00237A5E /* WXNetworkProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXNetworkProtocol.h; sourceTree = ""; }; - 6EE8F3162695815C00237A5E /* WXTracingManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXTracingManager.h; sourceTree = ""; }; - 6EE8F3172695815C00237A5E /* WXComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXComponent.h; sourceTree = ""; }; - 6EE8F3182695815C00237A5E /* WXPrerenderManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXPrerenderManager.h; sourceTree = ""; }; - 6EE8F3192695815C00237A5E /* WXComponent+Layout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WXComponent+Layout.h"; sourceTree = ""; }; - 6EE8F31A2695815C00237A5E /* layout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = layout.h; sourceTree = ""; }; - 6EE8F31B2695815C00237A5E /* WXSDKInstance+Bridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WXSDKInstance+Bridge.h"; sourceTree = ""; }; - 6EE8F31C2695815C00237A5E /* UniPluginProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniPluginProtocol.h; sourceTree = ""; }; - 6EE8F31D2695815C00237A5E /* WXModalUIModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXModalUIModule.h; sourceTree = ""; }; - 6EE8F31E2695815C00237A5E /* WXAnalyzerCenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAnalyzerCenter.h; sourceTree = ""; }; - 6EE8F31F2695815C00237A5E /* WXVoiceOverModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXVoiceOverModule.h; sourceTree = ""; }; - 6EE8F3202695815C00237A5E /* WXRootView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRootView.h; sourceTree = ""; }; - 6EE8F3212695815C00237A5E /* WXAppConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAppConfiguration.h; sourceTree = ""; }; - 6EE8F3222695815C00237A5E /* WXListComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXListComponent.h; sourceTree = ""; }; - 6EE8F3232695815C00237A5E /* WXSDKError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKError.h; sourceTree = ""; }; - 6EE8F3242695815C00237A5E /* WXRootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRootViewController.h; sourceTree = ""; }; - 6EE8F3252695815C00237A5E /* WXNavigationProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXNavigationProtocol.h; sourceTree = ""; }; - 6EE8F3262695815C00237A5E /* WXAnalyzerProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAnalyzerProtocol.h; sourceTree = ""; }; - 6EE8F3272695815C00237A5E /* WeexSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WeexSDK.h; sourceTree = ""; }; - 6EE8F3282695815C00237A5E /* WXBridgeManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXBridgeManager.h; sourceTree = ""; }; - 6EE8F3292695815C00237A5E /* WXResourceResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceResponse.h; sourceTree = ""; }; - 6EE8F32A2695815C00237A5E /* WXBaseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXBaseViewController.h; sourceTree = ""; }; - 6EE8F32B2695815C00237A5E /* WXAppMonitorProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAppMonitorProtocol.h; sourceTree = ""; }; - 6EE8F32C2695815C00237A5E /* WeexProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WeexProtocol.h; sourceTree = ""; }; - 6EE8F32D2695815C00237A5E /* WXJSExceptionProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXJSExceptionProtocol.h; sourceTree = ""; }; - 6EE8F32E2695815C00237A5E /* WXJSExceptionInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXJSExceptionInfo.h; sourceTree = ""; }; - 6EE8F32F2695815C00237A5E /* WXTracingProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXTracingProtocol.h; sourceTree = ""; }; - 6EE8F3302695815C00237A5E /* flex_enum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = flex_enum.h; sourceTree = ""; }; - 6EE8F3312695815C00237A5E /* WXConfigCenterProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXConfigCenterProtocol.h; sourceTree = ""; }; - 6EE8F3322695815C00237A5E /* WXEventModuleProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXEventModuleProtocol.h; sourceTree = ""; }; - 6EE8F3332695815C00237A5E /* WXURLRewriteProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXURLRewriteProtocol.h; sourceTree = ""; }; - 6EE8F3342695815C00237A5E /* WXAComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAComponent.h; sourceTree = ""; }; - 6EE8F3352695815C00237A5E /* WXBridgeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXBridgeProtocol.h; sourceTree = ""; }; - 6EE8F3362695815C00237A5E /* DCUniMPError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPError.h; sourceTree = ""; }; - 6EE8F3372695815C00237A5E /* DCUniMPMenuActionSheetStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPMenuActionSheetStyle.h; sourceTree = ""; }; - 6EE8F3392695816000237A5E /* libSDWebImage.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSDWebImage.a; sourceTree = ""; }; - 6EE8F33A2695816000237A5E /* liblibIO.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibIO.a; sourceTree = ""; }; - 6EE8F33B2695816000237A5E /* liblibWeex.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibWeex.a; sourceTree = ""; }; - 6EE8F33C2695816000237A5E /* liblibPDRCore.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibPDRCore.a; sourceTree = ""; }; - 6EE8F33D2695816000237A5E /* liblibNativeUI.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibNativeUI.a; sourceTree = ""; }; - 6EE8F33E2695816000237A5E /* liblibUI.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibUI.a; sourceTree = ""; }; - 6EE8F33F2695816000237A5E /* libcoreSupport.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libcoreSupport.a; sourceTree = ""; }; - 6EE8F3402695816000237A5E /* liblibStorage.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibStorage.a; sourceTree = ""; }; - 6EE8F3412695816000237A5E /* liblibPGInvocation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibPGInvocation.a; sourceTree = ""; }; - 6EE8F3422695816000237A5E /* liblibNavigator.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibNavigator.a; sourceTree = ""; }; - 6EE8F3432695816000237A5E /* storage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = storage.framework; sourceTree = ""; }; - 6EE8F3442695816000237A5E /* liblibNativeObj.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibNativeObj.a; sourceTree = ""; }; 6EE8F3572695818800237A5E /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 6EE8F3592695819500237A5E /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; 6EE8F35A2695819500237A5E /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; @@ -215,19 +84,10 @@ 6EE8F373269581F600237A5E /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; 6EE8F375269581FB00237A5E /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; }; 6EE8F3772695820600237A5E /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; }; - 6EE8F37D269582C200237A5E /* UniappPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniappPlugin.h; sourceTree = ""; }; - 6EE8F37E269582C200237A5E /* UniappPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UniappPlugin.m; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 7AFFD8EE1D35381100E5BB4D /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = ""; }; 81880E8F5E90EA6E5E0D57EB /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 89319A6826E237A5001EFBD7 /* __uniappes6.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = __uniappes6.js; sourceTree = ""; }; - 89319A6926E237A5001EFBD7 /* uni-jsframework.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "uni-jsframework.js"; sourceTree = ""; }; - 89319A6A26E237A5001EFBD7 /* PandoraApi.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = PandoraApi.bundle; sourceTree = ""; }; - 89319A6B26E237A5001EFBD7 /* unincomponents.ttf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = unincomponents.ttf; sourceTree = ""; }; - 89319A6C26E237A5001EFBD7 /* userPosition@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "userPosition@2x.png"; sourceTree = ""; }; - 89319A6D26E237A5001EFBD7 /* weex-polyfill.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "weex-polyfill.js"; sourceTree = ""; }; - 89319A6E26E237A5001EFBD7 /* weexUniJs.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = weexUniJs.js; sourceTree = ""; }; 89847A4826A14482008C8077 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; 899C4C3826A5171500B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = ""; }; 899C4C3926A5171500B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = ""; }; @@ -236,25 +96,8 @@ 899C4C3D26A5179900B44087 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 899C4C3F26A5179F00B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = ""; }; 899C4C4026A517A000B44087 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/InfoPlist.strings"; sourceTree = ""; }; - 89A6269E26A7F6D30004A8F0 /* liblibPayment.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibPayment.a; sourceTree = ""; }; - 89A626A026A7F6E30004A8F0 /* libwxpay.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libwxpay.a; sourceTree = ""; }; 89A626A426A7F71A0004A8F0 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; }; - 89A626A626A7FF910004A8F0 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = ""; }; - 89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = ""; }; - 89A626AD26A800390004A8F0 /* WechatAuthSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WechatAuthSDK.h; sourceTree = ""; }; - 89A626AE26A800390004A8F0 /* WXApiObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApiObject.h; sourceTree = ""; }; - 89A626AF26A800390004A8F0 /* WXApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApi.h; sourceTree = ""; }; - 89AEFA3826A67F8400DD2817 /* libDCUniAmap.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libDCUniAmap.a; sourceTree = ""; }; - 89AEFA3A26A67F9C00DD2817 /* libDCUniMap.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libDCUniMap.a; sourceTree = ""; }; - 89AEFA3C26A67FB100DD2817 /* DCUniVideoPublic.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = DCUniVideoPublic.framework; sourceTree = ""; }; - 89AEFA3E26A67FBD00DD2817 /* AMapSearchKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapSearchKit.framework; sourceTree = ""; }; - 89AEFA4026A67FF100DD2817 /* MAMapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MAMapKit.framework; sourceTree = ""; }; - 89AEFA4226A6800800DD2817 /* AMapFoundationKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapFoundationKit.framework; sourceTree = ""; }; 89AEFA4426A6802000DD2817 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; }; - 89AEFA8226A684D700DD2817 /* userPosition@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "userPosition@2x.png"; sourceTree = ""; }; - 89AEFA8826A6996300DD2817 /* libAMapLocationPlugin.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libAMapLocationPlugin.a; sourceTree = ""; }; - 89AEFA8A26A6997E00DD2817 /* liblibGeolocation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibGeolocation.a; sourceTree = ""; }; - 89AEFA8C26A699A000DD2817 /* AMapLocationKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapLocationKit.framework; sourceTree = ""; }; 89AEFA8E26A699DE00DD2817 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; 89AEFA9026A69A2200DD2817 /* ExternalAccessory.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ExternalAccessory.framework; path = System/Library/Frameworks/ExternalAccessory.framework; sourceTree = SDKROOT; }; 89AEFA9226A69A3600DD2817 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; @@ -284,26 +127,16 @@ 89AEFA9326A69A3600DD2817 /* Security.framework in Frameworks */, 89AEFA9526A69A4800DD2817 /* SystemConfiguration.framework in Frameworks */, 05C5426F26BBE8FE00D26AC2 /* CoreLocation.framework in Frameworks */, - 05C5426026BB9CEB00D26AC2 /* liblibIO.a in Frameworks */, - 89A626B026A80E520004A8F0 /* AMapFoundationKit.framework in Frameworks */, - 89A626B126A80E520004A8F0 /* AMapLocationKit.framework in Frameworks */, - 89A626B226A80E520004A8F0 /* libAMapLocationPlugin.a in Frameworks */, - 89A626B326A80E520004A8F0 /* liblibGeolocation.a in Frameworks */, 89AEFA8F26A699DE00DD2817 /* libz.tbd in Frameworks */, - 89A6269F26A7F6D30004A8F0 /* liblibPayment.a in Frameworks */, 6EE8F362269581AF00237A5E /* GLKit.framework in Frameworks */, 89AEFA9126A69A2200DD2817 /* ExternalAccessory.framework in Frameworks */, 89AEFA4526A6802000DD2817 /* MapKit.framework in Frameworks */, - 89AEFA3D26A67FB100DD2817 /* DCUniVideoPublic.framework in Frameworks */, 6EE8F3782695820600237A5E /* libiconv.tbd in Frameworks */, 6EE8F376269581FB00237A5E /* AddressBook.framework in Frameworks */, 6EE8F372269581F100237A5E /* AssetsLibrary.framework in Frameworks */, - 89AEFA3B26A67F9C00DD2817 /* libDCUniMap.a in Frameworks */, 6EE8F36E269581E300237A5E /* QuickLook.framework in Frameworks */, - 89AEFA4126A67FF100DD2817 /* MAMapKit.framework in Frameworks */, 6EE8F36A269581CC00237A5E /* CoreGraphics.framework in Frameworks */, 6EE8F368269581C300237A5E /* QuartzCore.framework in Frameworks */, - 89AEFA3926A67F8400DD2817 /* libDCUniAmap.a in Frameworks */, 6EE8F366269581BC00237A5E /* CoreText.framework in Frameworks */, 6EE8F364269581B600237A5E /* OpenGLES.framework in Frameworks */, 6EE8F35F269581A300237A5E /* AVFoundation.framework in Frameworks */, @@ -311,22 +144,8 @@ 6EE8F35B2695819500237A5E /* MediaPlayer.framework in Frameworks */, 6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */, 6EE8F3582695818800237A5E /* JavaScriptCore.framework in Frameworks */, - 6EE8F3542695816000237A5E /* liblibNavigator.a in Frameworks */, - 89A626A126A7F6E30004A8F0 /* libwxpay.a in Frameworks */, - 6EE8F3502695816000237A5E /* liblibUI.a in Frameworks */, - 89AEFA3F26A67FBD00DD2817 /* AMapSearchKit.framework in Frameworks */, C9444B3318AB7FB815E97950 /* libPods-Runner.a in Frameworks */, - 6EE8F3522695816000237A5E /* liblibStorage.a in Frameworks */, - 6EE8F34D2695816000237A5E /* liblibWeex.a in Frameworks */, - 6EE8F3552695816000237A5E /* storage.framework in Frameworks */, 05C5427426BCE3AC00D26AC2 /* BMKLocationKit.framework in Frameworks */, - 89A626A726A7FF910004A8F0 /* libWeChatSDK.a in Frameworks */, - 89A626AC26A8002F0004A8F0 /* libWeChatSDK.a in Frameworks */, - 6EE8F3562695816000237A5E /* liblibNativeObj.a in Frameworks */, - 6EE8F3532695816000237A5E /* liblibPGInvocation.a in Frameworks */, - 6EE8F34B2695816000237A5E /* libSDWebImage.a in Frameworks */, - 6EE8F34F2695816000237A5E /* liblibNativeUI.a in Frameworks */, - 6EE8F34E2695816000237A5E /* liblibPDRCore.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -388,198 +207,10 @@ 6EE8F2E32695806400237A5E /* Class */ = { isa = PBXGroup; children = ( - 6EE8F37D269582C200237A5E /* UniappPlugin.h */, - 6EE8F37E269582C200237A5E /* UniappPlugin.m */, ); path = Class; sourceTree = SOURCE_ROOT; }; - 6EE8F2E42695813500237A5E /* UniMPSDK */ = { - isa = PBXGroup; - children = ( - 6EE8F2EC2695815C00237A5E /* Headers */, - 6EE8F3382695816000237A5E /* Libs */, - 6EE8F2E52695815A00237A5E /* Resources */, - ); - path = UniMPSDK; - sourceTree = SOURCE_ROOT; - }; - 6EE8F2E52695815A00237A5E /* Resources */ = { - isa = PBXGroup; - children = ( - 89319A6726E237A5001EFBD7 /* Resources */, - 89AEFA8226A684D700DD2817 /* userPosition@2x.png */, - 6EE8F2E62695815A00237A5E /* __uniappes6.js */, - 6EE8F2E72695815A00237A5E /* uni-jsframework.js */, - 6EE8F2E82695815A00237A5E /* PandoraApi.bundle */, - 6EE8F2E92695815A00237A5E /* unincomponents.ttf */, - 6EE8F2EA2695815A00237A5E /* weex-polyfill.js */, - 6EE8F2EB2695815A00237A5E /* weexUniJs.js */, - ); - path = Resources; - sourceTree = ""; - }; - 6EE8F2EC2695815C00237A5E /* Headers */ = { - isa = PBXGroup; - children = ( - 6EE8F2ED2695815C00237A5E /* DCUniMPSDKEngine.h */, - 6EE8F2EE2695815C00237A5E /* DCUniMP.h */, - 6EE8F2EF2695815C00237A5E /* DCUniMPConfiguration.h */, - 6EE8F2F02695815C00237A5E /* DCUniMPInstance.h */, - 6EE8F2F12695815C00237A5E /* weexHeader */, - 6EE8F3362695815C00237A5E /* DCUniMPError.h */, - 6EE8F3372695815C00237A5E /* DCUniMPMenuActionSheetStyle.h */, - ); - path = Headers; - sourceTree = ""; - }; - 6EE8F2F12695815C00237A5E /* weexHeader */ = { - isa = PBXGroup; - children = ( - 6EE8F2F22695815C00237A5E /* WXModuleProtocol.h */, - 6EE8F2F32695815C00237A5E /* WXResourceLoader.h */, - 6EE8F2F42695815C00237A5E /* WXApmForInstance.h */, - 6EE8F2F52695815C00237A5E /* WXWebSocketHandler.h */, - 6EE8F2F62695815C00237A5E /* WXImgLoaderProtocol.h */, - 6EE8F2F72695815C00237A5E /* WXComponentManager.h */, - 6EE8F2F82695815C00237A5E /* WXScrollerProtocol.h */, - 6EE8F2F92695815C00237A5E /* WXRichText.h */, - 6EE8F2FA2695815C00237A5E /* WXView.h */, - 6EE8F2FB2695815C00237A5E /* WXValidateProtocol.h */, - 6EE8F2FC2695815C00237A5E /* WXDefine.h */, - 6EE8F2FD2695815C00237A5E /* JSContext+Weex.h */, - 6EE8F2FE2695815C00237A5E /* WXExtendCallNativeProtocol.h */, - 6EE8F2FF2695815C00237A5E /* WXSDKEngine.h */, - 6EE8F3002695815C00237A5E /* style.h */, - 6EE8F3012695815C00237A5E /* WXResourceRequestHandler.h */, - 6EE8F3022695815C00237A5E /* WXDisplayLinkManager.h */, - 6EE8F3032695815C00237A5E /* WXUtility.h */, - 6EE8F3042695815C00237A5E /* WXResourceRequest.h */, - 6EE8F3052695815C00237A5E /* WXConvert.h */, - 6EE8F3062695815C00237A5E /* WXPageEventNotifyEvent.h */, - 6EE8F3072695815C00237A5E /* WXSDKInstance.h */, - 6EE8F3082695815C00237A5E /* WXSDKManager.h */, - 6EE8F3092695815C00237A5E /* WXDebugTool.h */, - 6EE8F30A2695815C00237A5E /* WXType.h */, - 6EE8F30B2695815C00237A5E /* WXApmProtocol.h */, - 6EE8F30C2695815C00237A5E /* WXJSFrameworkLoadProtocol.h */, - 6EE8F30D2695815C00237A5E /* WXExceptionUtils.h */, - 6EE8F30E2695815C00237A5E /* WXIndicatorComponent.h */, - 6EE8F30F2695815C00237A5E /* WXErrorView.h */, - 6EE8F3102695815C00237A5E /* NSObject+WXSwizzle.h */, - 6EE8F3112695815C00237A5E /* WXMonitor.h */, - 6EE8F3122695815C00237A5E /* WXSDKInstance+DCExtend.h */, - 6EE8F3132695815C00237A5E /* WXRecyclerComponent.h */, - 6EE8F3142695815C00237A5E /* WXScrollerComponent.h */, - 6EE8F3152695815C00237A5E /* WXNetworkProtocol.h */, - 6EE8F3162695815C00237A5E /* WXTracingManager.h */, - 6EE8F3172695815C00237A5E /* WXComponent.h */, - 6EE8F3182695815C00237A5E /* WXPrerenderManager.h */, - 6EE8F3192695815C00237A5E /* WXComponent+Layout.h */, - 6EE8F31A2695815C00237A5E /* layout.h */, - 6EE8F31B2695815C00237A5E /* WXSDKInstance+Bridge.h */, - 6EE8F31C2695815C00237A5E /* UniPluginProtocol.h */, - 6EE8F31D2695815C00237A5E /* WXModalUIModule.h */, - 6EE8F31E2695815C00237A5E /* WXAnalyzerCenter.h */, - 6EE8F31F2695815C00237A5E /* WXVoiceOverModule.h */, - 6EE8F3202695815C00237A5E /* WXRootView.h */, - 6EE8F3212695815C00237A5E /* WXAppConfiguration.h */, - 6EE8F3222695815C00237A5E /* WXListComponent.h */, - 6EE8F3232695815C00237A5E /* WXSDKError.h */, - 6EE8F3242695815C00237A5E /* WXRootViewController.h */, - 6EE8F3252695815C00237A5E /* WXNavigationProtocol.h */, - 6EE8F3262695815C00237A5E /* WXAnalyzerProtocol.h */, - 6EE8F3272695815C00237A5E /* WeexSDK.h */, - 6EE8F3282695815C00237A5E /* WXBridgeManager.h */, - 6EE8F3292695815C00237A5E /* WXResourceResponse.h */, - 6EE8F32A2695815C00237A5E /* WXBaseViewController.h */, - 6EE8F32B2695815C00237A5E /* WXAppMonitorProtocol.h */, - 6EE8F32C2695815C00237A5E /* WeexProtocol.h */, - 6EE8F32D2695815C00237A5E /* WXJSExceptionProtocol.h */, - 6EE8F32E2695815C00237A5E /* WXJSExceptionInfo.h */, - 6EE8F32F2695815C00237A5E /* WXTracingProtocol.h */, - 6EE8F3302695815C00237A5E /* flex_enum.h */, - 6EE8F3312695815C00237A5E /* WXConfigCenterProtocol.h */, - 6EE8F3322695815C00237A5E /* WXEventModuleProtocol.h */, - 6EE8F3332695815C00237A5E /* WXURLRewriteProtocol.h */, - 6EE8F3342695815C00237A5E /* WXAComponent.h */, - 6EE8F3352695815C00237A5E /* WXBridgeProtocol.h */, - ); - path = weexHeader; - sourceTree = ""; - }; - 6EE8F3382695816000237A5E /* Libs */ = { - isa = PBXGroup; - children = ( - 89A626A626A7FF910004A8F0 /* libWeChatSDK.a */, - 89A626A026A7F6E30004A8F0 /* libwxpay.a */, - 89A6269E26A7F6D30004A8F0 /* liblibPayment.a */, - 89AEFA8C26A699A000DD2817 /* AMapLocationKit.framework */, - 89AEFA8A26A6997E00DD2817 /* liblibGeolocation.a */, - 89AEFA8826A6996300DD2817 /* libAMapLocationPlugin.a */, - 89AEFA4226A6800800DD2817 /* AMapFoundationKit.framework */, - 89AEFA4026A67FF100DD2817 /* MAMapKit.framework */, - 89AEFA3E26A67FBD00DD2817 /* AMapSearchKit.framework */, - 89AEFA3C26A67FB100DD2817 /* DCUniVideoPublic.framework */, - 89AEFA3A26A67F9C00DD2817 /* libDCUniMap.a */, - 89AEFA3826A67F8400DD2817 /* libDCUniAmap.a */, - 6EE8F3392695816000237A5E /* libSDWebImage.a */, - 6EE8F33A2695816000237A5E /* liblibIO.a */, - 6EE8F33B2695816000237A5E /* liblibWeex.a */, - 6EE8F33C2695816000237A5E /* liblibPDRCore.a */, - 6EE8F33D2695816000237A5E /* liblibNativeUI.a */, - 6EE8F33E2695816000237A5E /* liblibUI.a */, - 6EE8F33F2695816000237A5E /* libcoreSupport.a */, - 6EE8F3402695816000237A5E /* liblibStorage.a */, - 6EE8F3412695816000237A5E /* liblibPGInvocation.a */, - 6EE8F3422695816000237A5E /* liblibNavigator.a */, - 6EE8F3432695816000237A5E /* storage.framework */, - 6EE8F3442695816000237A5E /* liblibNativeObj.a */, - ); - path = Libs; - sourceTree = ""; - }; - 89319A6726E237A5001EFBD7 /* Resources */ = { - isa = PBXGroup; - children = ( - 89319A6826E237A5001EFBD7 /* __uniappes6.js */, - 89319A6926E237A5001EFBD7 /* uni-jsframework.js */, - 89319A6A26E237A5001EFBD7 /* PandoraApi.bundle */, - 89319A6B26E237A5001EFBD7 /* unincomponents.ttf */, - 89319A6C26E237A5001EFBD7 /* userPosition@2x.png */, - 89319A6D26E237A5001EFBD7 /* weex-polyfill.js */, - 89319A6E26E237A5001EFBD7 /* weexUniJs.js */, - ); - name = Resources; - sourceTree = ""; - }; - 89A626A826A7FFF30004A8F0 /* wx */ = { - isa = PBXGroup; - children = ( - 89A626AA26A8000C0004A8F0 /* Headers */, - 89A626A926A800010004A8F0 /* Libs */, - ); - path = wx; - sourceTree = SOURCE_ROOT; - }; - 89A626A926A800010004A8F0 /* Libs */ = { - isa = PBXGroup; - children = ( - 89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */, - ); - path = Libs; - sourceTree = ""; - }; - 89A626AA26A8000C0004A8F0 /* Headers */ = { - isa = PBXGroup; - children = ( - 89A626AD26A800390004A8F0 /* WechatAuthSDK.h */, - 89A626AF26A800390004A8F0 /* WXApi.h */, - 89A626AE26A800390004A8F0 /* WXApiObject.h */, - ); - path = Headers; - sourceTree = ""; - }; 9740EEB11CF90186004384FC /* Flutter */ = { isa = PBXGroup; children = ( @@ -615,9 +246,7 @@ isa = PBXGroup; children = ( 05C5426126BBE82E00D26AC2 /* baidu */, - 89A626A826A7FFF30004A8F0 /* wx */, 89847A4826A14482008C8077 /* Runner.entitlements */, - 6EE8F2E42695813500237A5E /* UniMPSDK */, 6EE8F2E32695806400237A5E /* Class */, 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 7AFFD8EE1D35381100E5BB4D /* AppDelegate.mm */, @@ -708,25 +337,11 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 89319A6F26E237A5001EFBD7 /* __uniappes6.js in Resources */, 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 89319A7526E237A5001EFBD7 /* weexUniJs.js in Resources */, - 6EE8F3452695816000237A5E /* __uniappes6.js in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 6EE8F3472695816000237A5E /* PandoraApi.bundle in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 89319A7126E237A5001EFBD7 /* PandoraApi.bundle in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - 6EE8F3482695816000237A5E /* unincomponents.ttf in Resources */, - 6EE8F34A2695816000237A5E /* weexUniJs.js in Resources */, - 6EE8F3492695816000237A5E /* weex-polyfill.js in Resources */, - 89AEFA8426A684D800DD2817 /* userPosition@2x.png in Resources */, 899C4C3C26A5179900B44087 /* InfoPlist.strings in Resources */, - 89319A7326E237A5001EFBD7 /* userPosition@2x.png in Resources */, - 6EE8F3462695816000237A5E /* uni-jsframework.js in Resources */, - 89319A7226E237A5001EFBD7 /* unincomponents.ttf in Resources */, - 89319A7426E237A5001EFBD7 /* weex-polyfill.js in Resources */, - 89319A7026E237A5001EFBD7 /* uni-jsframework.js in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -825,7 +440,6 @@ buildActionMask = 2147483647; files = ( 978B8F6F1D3862AE00F588F7 /* AppDelegate.mm in Sources */, - 6EE8F37F269582C200237A5E /* UniappPlugin.m in Sources */, 97C146F31CF9000F007C117D /* main.m in Sources */, 0558860326BD10CA00FB1CFE /* test.swift in Sources */, 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, @@ -985,59 +599,6 @@ OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", - "-l\"c++\"", - "-l\"image_pickers\"", - "-l\"path_provider\"", - "-l\"flutter_bmflocation\"", - "-l\"flutter_baidu_mapapi_utils\"", - "-l\"flutter_baidu_mapapi_search\"", - "-l\"flutter_baidu_mapapi_map\"", - "-l\"flutter_baidu_mapapi_base\"", - "-l\"permission_handler\"", - "-l\"sqflite\"", - "-l\"sqlite3\"", - "-l\"video_player\"", - "-l\"wakelock\"", - "-l\"webview_flutter\"", - "-l\"z\"", - "-framework", - "\"AMapFoundationKit\"", - "-framework", - "\"AMapLocationKit\"", - "-framework", - "\"CoreGraphics\"", - "-framework", - "\"CoreLocation\"", - "-framework", - "\"CoreTelephony\"", - "-framework", - "\"CoreText\"", - "-framework", - "\"ExternalAccessory\"", - "-framework", - "\"GLKit\"", - "-framework", - "\"MAMapKit\"", - "-framework", - "\"OpenGLES\"", - "-framework", - "\"QuartzCore\"", - "-framework", - "\"Security\"", - "-framework", - "\"SystemConfiguration\"", - "-framework", - "\"BMKLocationKit\"", - "-framework", - "\"BaiduMapAPI_Base\"", - "-framework", - "\"BaiduMapAPI_Map\"", - "-framework", - "\"BaiduMapAPI_Utils\"", - "-framework", - "\"BaiduMapAPI_Search\"", - "-fcxx-modules", - "-fmodules", ); PRODUCT_BUNDLE_IDENTIFIER = com.zsw.hx; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1222,59 +783,6 @@ OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", - "-l\"c++\"", - "-l\"image_pickers\"", - "-l\"path_provider\"", - "-l\"flutter_bmflocation\"", - "-l\"flutter_baidu_mapapi_utils\"", - "-l\"flutter_baidu_mapapi_search\"", - "-l\"flutter_baidu_mapapi_map\"", - "-l\"flutter_baidu_mapapi_base\"", - "-l\"permission_handler\"", - "-l\"sqflite\"", - "-l\"sqlite3\"", - "-l\"video_player\"", - "-l\"wakelock\"", - "-l\"webview_flutter\"", - "-l\"z\"", - "-framework", - "\"AMapFoundationKit\"", - "-framework", - "\"AMapLocationKit\"", - "-framework", - "\"CoreGraphics\"", - "-framework", - "\"CoreLocation\"", - "-framework", - "\"CoreTelephony\"", - "-framework", - "\"CoreText\"", - "-framework", - "\"ExternalAccessory\"", - "-framework", - "\"GLKit\"", - "-framework", - "\"MAMapKit\"", - "-framework", - "\"OpenGLES\"", - "-framework", - "\"QuartzCore\"", - "-framework", - "\"Security\"", - "-framework", - "\"SystemConfiguration\"", - "-framework", - "\"BMKLocationKit\"", - "-framework", - "\"BaiduMapAPI_Base\"", - "-framework", - "\"BaiduMapAPI_Map\"", - "-framework", - "\"BaiduMapAPI_Utils\"", - "-framework", - "\"BaiduMapAPI_Search\"", - "-fcxx-modules", - "-fmodules", ); PRODUCT_BUNDLE_IDENTIFIER = com.zsw.hx; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1350,59 +858,6 @@ OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", - "-l\"c++\"", - "-l\"image_pickers\"", - "-l\"path_provider\"", - "-l\"flutter_bmflocation\"", - "-l\"flutter_baidu_mapapi_utils\"", - "-l\"flutter_baidu_mapapi_search\"", - "-l\"flutter_baidu_mapapi_map\"", - "-l\"flutter_baidu_mapapi_base\"", - "-l\"permission_handler\"", - "-l\"sqflite\"", - "-l\"sqlite3\"", - "-l\"video_player\"", - "-l\"wakelock\"", - "-l\"webview_flutter\"", - "-l\"z\"", - "-framework", - "\"AMapFoundationKit\"", - "-framework", - "\"AMapLocationKit\"", - "-framework", - "\"CoreGraphics\"", - "-framework", - "\"CoreLocation\"", - "-framework", - "\"CoreTelephony\"", - "-framework", - "\"CoreText\"", - "-framework", - "\"ExternalAccessory\"", - "-framework", - "\"GLKit\"", - "-framework", - "\"MAMapKit\"", - "-framework", - "\"OpenGLES\"", - "-framework", - "\"QuartzCore\"", - "-framework", - "\"Security\"", - "-framework", - "\"SystemConfiguration\"", - "-framework", - "\"BMKLocationKit\"", - "-framework", - "\"BaiduMapAPI_Base\"", - "-framework", - "\"BaiduMapAPI_Map\"", - "-framework", - "\"BaiduMapAPI_Utils\"", - "-framework", - "\"BaiduMapAPI_Search\"", - "-fcxx-modules", - "-fmodules", ); PRODUCT_BUNDLE_IDENTIFIER = com.zsw.hx; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/ios/Runner/AppDelegate.mm b/ios/Runner/AppDelegate.mm index 04bd43d6..ebfd6726 100644 --- a/ios/Runner/AppDelegate.mm +++ b/ios/Runner/AppDelegate.mm @@ -1,7 +1,5 @@ #import "AppDelegate.h" #import "GeneratedPluginRegistrant.h" -#import "DCUniMP.h" -#import "UniappPlugin.h" #import "WXApi.h" @@ -12,134 +10,10 @@ [GeneratedPluginRegistrant registerWithRegistry:self]; // Override point for customization after application launch. - - // 配置参数 - NSMutableDictionary *options = [NSMutableDictionary dictionaryWithDictionary:launchOptions]; - // 设置 debug YES 会在控制台输出 js log,默认不输出 log,注:需要引入 liblibLog.a 库 - [options setObject:[NSNumber numberWithBool:YES] forKey:@"debug"]; - [DCUniMPSDKEngine initSDKEnvironmentWithLaunchOptions:options ]; - - FlutterViewController* controller = (FlutterViewController*)self.window.rootViewController; - FlutterMethodChannel* uniAppChannel = [FlutterMethodChannel methodChannelWithName:@"min" binaryMessenger:(NSObject *)controller]; - UniappPlugin * plugin = [[UniappPlugin alloc] init]; - [DCUniMPSDKEngine setDelegate:plugin]; - [uniAppChannel setMethodCallHandler:^(FlutterMethodCall * _Nonnull call, FlutterResult _Nonnull result) { - NSString * method = call.method; - if ([method isEqual:@"initialize"] || [method isEqual:@"isInitialize"]) { - result([NSNumber numberWithBool:YES]); - } - //是否已经解压过了 - if ([method isEqual:@"isExistsApp"]) { - NSString * appid = [call.arguments valueForKey:@"appid"]; - [DCUniMPSDKEngine isExistsApp:appid] ? result([NSNumber numberWithBool:YES]): result([NSNumber numberWithBool:NO]); - } - if ([method isEqual:@"closeCurrentApp"]) { - [DCUniMPSDKEngine closeUniMP]; - } - if ([method isEqual:@"getAppBasePath"]) { - NSString * appid = [call.arguments valueForKey:@"appid"]; - result([DCUniMPSDKEngine getAppRunPathWithAppid:appid]); - } - if ([method isEqual:@"runingAppid"]) { - result([DCUniMPSDKEngine getActiveUniMPAppid]); - } - if ([method isEqual:@"currentPageUrl"]) { - result([DCUniMPSDKEngine getCurrentPageUrl]); - } - if ([method isEqual:@"startMin"]) { - NSLog(@"call.arguments:%@",call.arguments); - NSString * appid = [call.arguments valueForKey:@"appid"]; - NSDictionary* dict = [call.arguments objectForKey:@"json"]; - [plugin openUniApp:appid dict:dict]; - result(@""); - } - if ([method isEqual:@"getAppVersionInfo"]) { - NSString * appid = [call.arguments valueForKey:@"appid"]; - result([[DCUniMPSDKEngine getUniMPVersionInfoWithAppid:appid] valueForKey:@"name"]); - } - if ([method isEqual:@"reloadWgt"]) { - NSString * appid = [call.arguments valueForKey:@"appid"]; - NSString * wgtPath = [call.arguments valueForKey:@"wgtPath"]; - BOOL r = [DCUniMPSDKEngine releaseAppResourceToRunPathWithAppid:appid resourceFilePath:wgtPath]; - r ? result([NSNumber numberWithBool:YES]) : result([NSNumber numberWithBool:NO]); - } - //这是原来的下载 - if ([call.method isEqual:@"openUniApp"]) { - result(@"这是原来的下载。"); - } - //result(FlutterMethodNotImplemented); - }]; - - // 消息内容获取 - __block NSDictionary *remoteNotification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]; - NSLog(@"notification dic: %@", remoteNotification); - - FlutterMethodChannel* bridgeAppChannel = [FlutterMethodChannel methodChannelWithName:@"bridge" binaryMessenger:(NSObject *)controller]; - [bridgeAppChannel setMethodCallHandler:^(FlutterMethodCall * _Nonnull call, FlutterResult _Nonnull result) { - NSString * method = call.method; - if ([method isEqual:@"action"]) { - if (remoteNotification != NULL) { - result(remoteNotification[@"custom"]); - remoteNotification = nil; - } - result(@""); - } - if ([method isEqual:@"toAppStore"]) { - NSString *appURL = @"https://itunes.apple.com/cn/app/1575124838?action=write-review"; - [[UIApplication sharedApplication] openURL:[NSURL URLWithString:appURL]]; - result(@""); - } - //result(FlutterMethodNotImplemented); - }]; - return [super application:application didFinishLaunchingWithOptions:launchOptions]; } -- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray> * _Nullable))restorationHandler { - NSLog(@"userActivity%@", userActivity.webpageURL); - - NSArray *params = [userActivity.webpageURL.query componentsSeparatedByString:@"&"]; - - __block NSString *customParam = @""; - - for (NSString *string in params) { - NSLog(@"userActivity%@", string); - NSArray *array =[string componentsSeparatedByString:@"="]; - if ([array[0] isEqual:@"id"]) { - customParam = [NSString stringWithFormat:@"{\"typed\":1,\"info\":\"%@\"}", array[1]]; - } - } - - NSLog(@"userActivity%@", customParam); - FlutterViewController* controller = (FlutterViewController*)self.window.rootViewController; - FlutterMethodChannel* bridgeAppChannel = [FlutterMethodChannel methodChannelWithName:@"bridge" binaryMessenger:(NSObject *)controller]; - [bridgeAppChannel setMethodCallHandler:^(FlutterMethodCall * _Nonnull call, FlutterResult _Nonnull result) { - NSString * method = call.method; - if ([method isEqual:@"action"]) { - if (customParam != NULL) { - result(customParam); - customParam = @""; - } - result(@""); - } - if ([method isEqual:@"toAppStore"]) { - NSString *appURL = @"https://itunes.apple.com/cn/app/1575124838?action=write-review"; - [[UIApplication sharedApplication] openURL:[NSURL URLWithString:appURL]]; - result(@""); - } - //result(FlutterMethodNotImplemented); - }]; - // 通过通用链接唤起 App - [DCUniMPSDKEngine application:application continueUserActivity:userActivity]; - return YES; -} -//- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { -// return [WXApi handleOpenURL:url delegate:[FluwxResponseHandler responseHandler]]; -//} -// -//- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options{ -// return [WXApi handleOpenURL:url delegate:[FluwxResponseHandler responseHandler]]; -//} + @end diff --git a/ios/UniMPSDK/Headers/DCUniMP.h b/ios/UniMPSDK/Headers/DCUniMP.h deleted file mode 100644 index 412f200f..00000000 --- a/ios/UniMPSDK/Headers/DCUniMP.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// DCUniMP.h -// DCUniMP -// -// Created by XHY on 2020/1/14. -// Copyright © 2020 DCloud. All rights reserved. -// - -#import - -//! Project version number for DCUniMP. -FOUNDATION_EXPORT double DCUniMPVersionNumber; - -//! Project version string for DCUniMP. -FOUNDATION_EXPORT const unsigned char DCUniMPVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - -#import "DCUniMPSDKEngine.h" -#import "DCUniMPMenuActionSheetStyle.h" -#import "DCUniMPInstance.h" -#import "DCUniMPError.h" diff --git a/ios/UniMPSDK/Headers/DCUniMPConfiguration.h b/ios/UniMPSDK/Headers/DCUniMPConfiguration.h deleted file mode 100644 index 67a6b3e0..00000000 --- a/ios/UniMPSDK/Headers/DCUniMPConfiguration.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// DCUniMPConfiguration.h -// libPDRCore -// -// Created by XHY on 2020/6/16. -// Copyright © 2020 DCloud. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// 打开小程序页面的方式 -typedef NS_ENUM(NSUInteger,DCUniMPOpenMode) { - /// 获取宿主当前显示的 ViewController 调用 presentViewController:animated:completion: 方法打开小程序页面对应的 DCUniMPViewController - DCUniMPOpenModePresent, - /// 获取宿主当前显示的 ViewController 对应的 navigationController 调用 pushViewController:animated: 方法打开小程序页面对应的 DCUniMPViewController,注意:如果 navigationController 不存在则使用 DCUniMPOpenModePresent 的方式打开 - DCUniMPOpenModePush -}; - -@interface DCUniMPConfiguration : NSObject - -@property (nonatomic, strong, nullable) NSDictionary *arguments; /**< 启动参数(在小程序中通过 plus.runtime.arguments 获取此参数)默认:nil*/ -@property (nonatomic, copy, nullable) NSString *redirectPath; /**< 启动后直接打开的页面路径 例:"pages/component/view/view?a=1&b=2" 默认:nil*/ -@property (nonatomic, assign) BOOL enableBackground; /**< 是否开启后台运行(退出小程序时隐藏到后台不销毁小程序应用) 默认:NO*/ -@property (nonatomic, assign) BOOL showAnimated; /**< 是否开启 show 小程序时的动画效果 默认:YES */ -@property (nonatomic, assign) BOOL hideAnimated; /**< 是否开启 hide 时的动画效果 默认:YES*/ -@property (nonatomic, assign) DCUniMPOpenMode openMode; /**< 打开小程序的方式 默认: DCUniMPOpenModePresent*/ -@property(nonatomic, assign) BOOL enableGestureClose; /**< 是否开启手势关闭小程序 默认:NO */ - -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/DCUniMPError.h b/ios/UniMPSDK/Headers/DCUniMPError.h deleted file mode 100644 index 79cf8dec..00000000 --- a/ios/UniMPSDK/Headers/DCUniMPError.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// DCUniMPError.h -// libPDRCore -// -// Created by XHY on 2020/6/15. -// Copyright © 2020 DCloud. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -static NSString * const DCUniMPErrorDomain = @"DCUniMPErrorDomain"; - -typedef NS_ENUM(NSInteger,DCUniMPErrorCode) { - /// 未知错误 - DCUniMPErrorUnknown = -999, - /// 应用资源不存在 - DCUniMPErrorUniMPResourcesDoesNotExist = -1001, - /// 非v3编译模式 - DCUniMPErrorNotCompiledByV3Mode = -1002, - /// 重复调用 - DCUniMPErrorRepeatedBehavior = -2001, - /// 小程序未运行 - DCUniMPErrorUniMPNotRunning = -3001, - /// 已存在运行的小程序 - DCUniMPErrorExistOtherUniMPRunning = 3002 -}; -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/DCUniMPInstance.h b/ios/UniMPSDK/Headers/DCUniMPInstance.h deleted file mode 100644 index 8ade22c2..00000000 --- a/ios/UniMPSDK/Headers/DCUniMPInstance.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// DCUniMPInstance.h -// DCUniMP -// -// Created by XHY on 2020/1/14. -// Copyright © 2020 DCloud. All rights reserved. -// - -#import -#import "DCUniMPConfiguration.h" - -/// 方法执行回调block -/// @param success 是否执行成功 -/// @param error 失败信息 -typedef void(^DCUniMPResultBlock)(BOOL success, NSError *_Nullable error); - -NS_ASSUME_NONNULL_BEGIN - -@interface DCUniMPInstance : NSObject - -@property (nonatomic, copy, readonly) NSString *appid; /**< 小程序的 appid */ -@property (nonatomic, strong) DCUniMPConfiguration *configuration; /**< 小程序应用的配置信息 */ - -/// 将小程序显示到前台 -/// @param completion 方法执行回调 -- (void)showWithCompletion:(DCUniMPResultBlock)completion; - -/// 将小程序隐藏到后台 -/// @param completion 方法执行回调 -- (void)hideWithCompletion:(DCUniMPResultBlock)completion; - -/// 关闭小程序 -/// @param completion 方法执行回调 -- (void)closeWithCompletion:(DCUniMPResultBlock)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/DCUniMPMenuActionSheetStyle.h b/ios/UniMPSDK/Headers/DCUniMPMenuActionSheetStyle.h deleted file mode 100644 index 46c1c110..00000000 --- a/ios/UniMPSDK/Headers/DCUniMPMenuActionSheetStyle.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// DCUniMPMenuActionSheetStyle.h -// libPDRCore -// -// Created by XHY on 2020/2/5. -// Copyright © 2020 DCloud. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface DCUniMPMenuActionSheetStyle : NSObject - -/// ActionSheet 按钮字体颜色 支持:"#RRGGBB" 和 "rgba(R,G,B,A)" 格式字符串。默认值黑色 -@property (nonatomic, copy) NSString *textColor; - -/// ActionSheet 按钮文字大小 。默认值 16 -@property (nonatomic, assign) CGFloat fontSize; - -/// ActionSheet 按钮文字的粗细 可取值:"normal" - 标准字体; "bold" - 加粗字体。 默认值为"normal"。 -@property (nonatomic, copy) NSString *fontWeight; - -@end - -@interface DCUniMPMenuActionSheetItem : NSObject - -/// 标题 -@property (nonatomic, copy) NSString *title; - -/// item 标识(当点击 ActionSheet 对应的 item 返回此标识) -@property (nonatomic, copy) NSString *identifier; - - -/// 实例化方法 -/// @param title 标题 -/// @param identifier 标识 -- (instancetype)initWithTitle:(NSString *)title identifier:(NSString *)identifier; - -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/DCUniMPSDKEngine.h b/ios/UniMPSDK/Headers/DCUniMPSDKEngine.h deleted file mode 100644 index 0c2c9fb4..00000000 --- a/ios/UniMPSDK/Headers/DCUniMPSDKEngine.h +++ /dev/null @@ -1,185 +0,0 @@ -// -// DCUniMPSDKEngine.h -// DCUniMP -// -// Created by XHY on 2020/1/14. -// Copyright © 2020 DCloud. All rights reserved. -// - -#import -#import -#import "DCUniMPInstance.h" -#import "DCUniMPMenuActionSheetStyle.h" - -/// 加载小程序 block 回调 -/// uniMPInstance: 加载成功返回小程序实例,失败则为 nil -/// error:失败信息 -typedef void(^DCUniMPCompletionBlock)(DCUniMPInstance *_Nullable uniMPInstance, NSError *_Nullable error); - -NS_ASSUME_NONNULL_BEGIN - -@protocol DCUniMPSDKEngineDelegate - -/// -/// 回调数据给小程序 -/// result:回调参数支持 NSString 或 NSDictionary 类型 -/// keepAlive:如果 keepAlive 为 YES,则可以多次回调数据给小程序,反之触发一次后回调方法即被移除 -typedef void (^DCUniMPKeepAliveCallback)(id result, BOOL keepAlive); - -@optional -/// 胶囊按钮菜单 ActionSheetItem 点击回调方法 -/// @param identifier item 项的标识 -- (void)defaultMenuItemClicked:(NSString *)identifier; - -/// 返回打开小程序时的闪屏视图 -/// @param appid appid -- (UIView *)splashViewForApp:(NSString *)appid; - -/// 关闭小程序的回调方法 -/// @param appid appid -- (void)uniMPOnClose:(NSString *)appid; - - -/// 小程序向原生发送事件回调方法 -/// @param event 事件名称 -/// @param data 数据:NSString 或 NSDictionary 类型 -/// @param callback 回调数据给小程序 -- (void)onUniMPEventReceive:(NSString *)event data:(id)data callback:(DCUniMPKeepAliveCallback)callback; - -@end - -@interface DCUniMPSDKEngine : NSObject - -#pragma mark - SDK 全局生命周期方法 -/// 初始化 sdk 全局环境 -/// @param options 启动参数 -+ (void)initSDKEnvironmentWithLaunchOptions:(NSDictionary *)options; - -/// 释放SDK资源 -+ (void)destory; - -#pragma mark - 小程序应用相关方法 - -/// 小程序打开状态,调用此方法可获取小程序对应的 DCUniMPViewController 实例 -+ (UIViewController *)getUniMPViewController; - -/// 获取 App 运行路径,注:需要将应用资源放到此路径下 -/// @param appid appid -+ (NSString *)getAppRunPathWithAppid:(NSString *)appid; - -/// 运行目录中是否已经存在 App -/// @param appid appid -+ (BOOL)isExistsApp:(NSString *)appid; - -/// 将wgt应用资源包部署到运行路径中 -/// @param appid appid -/// @param wgtPath wgt应用资源包路径 -+ (BOOL)releaseAppResourceToRunPathWithAppid:(NSString *)appid - resourceFilePath:(NSString *)wgtPath; - -/// 启动小程序 -/// @param appid appid -/// @param configuration 小程序的配置信息 -/// @param completionBlock 方法执行回调 -+ (void)openUniMP:(NSString *)appid - configuration:(DCUniMPConfiguration *)configuration - completed:(DCUniMPCompletionBlock)completionBlock; - -/// 预加载小程序 -/// @param appid appid -/// @param configuration 小程序的配置信息 -/// @param completionBlock 方法执行回调 -+ (void)preloadUniMP:(NSString *)appid - configuration:(DCUniMPConfiguration * __nullable)configuration - completed:(DCUniMPCompletionBlock)completionBlock; - -/// 关闭当前显示的小程序应用 -+ (void)closeUniMP; - -/// 获取当前显示的小程序appid -+ (NSString *)getActiveUniMPAppid; - - -/// 获取当前显示小程序页面的直达链接url -+ (NSString *)getCurrentPageUrl; - - -/// 获取已经部署的小程序应用资源版本信息 -/// @param appid appid -/// 返回数据为 manifest 中的配置信息 -/// { -/// "name": "1.0.0", // 应用版本名称 -/// "code": 100 // 应用版本号 -/// } -+ (NSDictionary *__nullable)getUniMPVersionInfoWithAppid:(NSString *)appid; - - -/// 向小程序发送事件 -/// @param event 事件名称 -/// @param data 数据:NSString 或 NSDictionary 类型 -+ (void)sendUniMPEvent:(NSString *)event data:(id)data; - -/// 小程序页面关闭时设置原生导航栏的显隐 (请使用此方法来控制进入小程序页面或离开小程序页面导航栏的显隐,不然导航栏的显隐效果不好,可能会出现闪一下的情况) -/// 说明:当小程序是通过 DCUniMPOpenModePush 方式打开(即通过原生导航控制器push方式打开小程序页面)如果系统导航栏是显示状态,进入小程序时会隐藏系统导航栏并在小程序页面关闭或从小程序页面在 push 到宿主其他原生页面时会将系统导航栏恢复之前的显隐状态;如果您想控制导航栏的显隐可通过此方法来实现 -/// 场景:在显示系统导航栏的页面 push 进入小程序页面,从小程序页面 push 到其他原生页面时需要隐藏系统导航栏,则可以在跳转页面前调用此方法来处理; -/// 注意:只有通过 push 的方式打开小程序才生效 -/// @param hidden 是否隐藏 -+ (void)whenUniMPCloseSetNavigationBarHidden:(BOOL)hidden; - -#pragma mark - 胶囊按钮相关方法 - -/// 设置导航栏上的胶囊按钮显示还是隐藏(默认显示) -/// @param menuButtonHidden Bool 是否隐藏胶囊按钮 -+ (void)setMenuButtonHidden:(BOOL)menuButtonHidden; - -/// 配置点击菜单按钮弹出 ActionSheet 视图的样式 -/// @param menuActionSheetStyle DCUniMPMenuActionSheetStyle -+ (void)configMenuActionSheetStyle:(DCUniMPMenuActionSheetStyle *)menuActionSheetStyle; - -/// 配置胶囊按钮菜单 ActionSheet 全局项 -/// @param items DCUniMPMenuActionSheetItem 数组 -+ (void)setDefaultMenuItems:(NSArray *)items; - - -/// 设置 DCUniMPSDKEngineDelegate -/// @param delegate 代理对象 -+ (void)setDelegate:(id)delegate; - -#pragma mark - App 生命周期方法 -+ (void)applicationDidBecomeActive:(UIApplication *)application; -+ (void)applicationWillResignActive:(UIApplication *)application; -+ (void)applicationDidEnterBackground:(UIApplication *)application; -+ (void)applicationWillEnterForeground:(UIApplication *)application; - - -#pragma mark - 如果需要使用 URL Scheme 或 通用链接相关功能,请实现以下方法 -+ (void)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options; -+ (void)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; - -#pragma mark - 如需使用远程推送相关功能,请实现以下方法 -+ (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken; -+ (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error; -+ (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo; - -#pragma mark - 如需使用本地推送通知功能,请实现以下方法 -+ (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification; - - -#pragma mark - deprecated (废弃API) -/// 启动 App -/// @param appid appid -/// @param arguments 启动参数(可以在小程序中通过 plus.runtime.arguments 获取此参数) -+ (void)openApp:(NSString *)appid - arguments:(NSDictionary * __nullable)arguments __attribute__((deprecated("deprecated, Use -openUniMP:configuration:completed:"))); - -/// 启动 App -/// @param appid appid -/// @param arguments 启动参数(可以在小程序中通过 plus.runtime.arguments 获取此参数) -/// @param redirectPath 启动后直接打开的页面路径 例:"pages/component/view/view?a=1&b=2" -+ (void)openApp:(NSString *)appid - arguments:(NSDictionary * _Nullable)arguments - redirectPath:(NSString * _Nullable)redirectPath __attribute__((deprecated("deprecated, Use -openUniMP:configuration:completed:"))); - -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/weexHeader/JSContext+Weex.h b/ios/UniMPSDK/Headers/weexHeader/JSContext+Weex.h deleted file mode 100644 index 3d1c3784..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/JSContext+Weex.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@interface JSContext (Weex) - -@property (nonatomic, strong) NSString *instanceId; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/NSObject+WXSwizzle.h b/ios/UniMPSDK/Headers/weexHeader/NSObject+WXSwizzle.h deleted file mode 100644 index 3c11c3ad..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/NSObject+WXSwizzle.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - - -#import - -@interface NSObject (WXSwizzle) - -+ (BOOL)weex_swizzle:(Class)originalClass Method:(SEL)originalSelector withMethod:(SEL)swizzledSelector; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/UniPluginProtocol.h b/ios/UniMPSDK/Headers/weexHeader/UniPluginProtocol.h deleted file mode 100644 index 60c4bc47..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/UniPluginProtocol.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// UniPluginProtocol.h -// libWeex -// -// Created by 4Ndf on 2018/11/30. -// Copyright © 2018年 DCloud. All rights reserved. -// -#import -@protocol UniPluginProtocol -//@required // 必须实现的方法 --(void)onCreateUniPlugin; - -- (BOOL)application:(UIApplication *_Nullable)application didFinishLaunchingWithOptions:(NSDictionary *_Nullable)launchOptions; -- (void)application:(UIApplication *_Nullable)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *_Nullable)deviceToken; -- (void)application:(UIApplication *_Nullable)application didFailToRegisterForRemoteNotificationsWithError:(NSError *_Nullable)err; -- (void)application:(UIApplication *_Nullable)application didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo; -- (void)application:(UIApplication *_Nullable)application didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void (^_Nullable)(UIBackgroundFetchResult))completionHandler; -- (void)application:(UIApplication *_Nullable)application didReceiveLocalNotification:(UILocalNotification *_Nullable)notification; -- (BOOL)application:(UIApplication *_Nullable)application handleOpenURL:(NSURL *_Nullable)url; -- (BOOL)application:(UIApplication *_Nullable)application openURL:(NSURL *_Nullable)url sourceApplication:(NSString *_Nullable)sourceApplication annotation:(id _Nonnull )annotation; -- (BOOL)application:(UIApplication *_Nullable)app openURL:(NSURL *_Nonnull)url options:(NSDictionary *_Nullable)options NS_AVAILABLE_IOS(9_0); - -- (void)applicationWillResignActive:(UIApplication * _Nullable)application; -- (void)applicationDidBecomeActive:(UIApplication *_Nullable)application; -- (void)applicationDidEnterBackground:(UIApplication *_Nullable)application; -- (void)applicationWillEnterForeground:(UIApplication *_Nullable)application; -- (void)applicationWillTerminate:(UIApplication *_Nullable)application; -- (void)applicationDidReceiveMemoryWarning:(UIApplication *_Nullable)application; -- (void)application:(UIApplication *_Nullable)application performActionForShortcutItem:(UIApplicationShortcutItem *_Nullable)shortcutItem completionHandler:(void (^_Nullable)(BOOL))completionHandler API_AVAILABLE(ios(9.0)); -- (void)application:(UIApplication *_Nullable)application handleEventsForBackgroundURLSession:(NSString *_Nonnull)identifier completionHandler:(void (^_Nullable)(void))completionHandler; -- (BOOL)application:(UIApplication *_Nullable)application continueUserActivity:(NSUserActivity *_Nullable)userActivity restorationHandler:(void(^_Nullable)(NSArray * __nullable restorableObjects))restorationHandler API_AVAILABLE(ios(8.0)); - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXAComponent.h b/ios/UniMPSDK/Headers/weexHeader/WXAComponent.h deleted file mode 100644 index 76fb1b57..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXAComponent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXComponent.h" - -@interface WXAComponent : WXComponent - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXAnalyzerCenter.h b/ios/UniMPSDK/Headers/weexHeader/WXAnalyzerCenter.h deleted file mode 100644 index 4b5a61b5..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXAnalyzerCenter.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXAnalyzerProtocol.h" - -@interface WXAnalyzerCenter : NSObject - -+(NSMutableArray *) getAnalyzerList; - -+(void) addWxAnalyzer:(id)handler; - -+(void) rmWxAnalyzer:(id)handler; - -+(void) setOpen:(BOOL)isOpen; -+(BOOL) isOpen; - -+(void) switchInteractionLog:(BOOL) isOpen; -+(BOOL) isInteractionLogOpen; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXAnalyzerProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXAnalyzerProtocol.h deleted file mode 100644 index 6663c805..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXAnalyzerProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXAppMonitorProtocol.h" - -#define GROUP_ANALYZER @"WXAnalyzer" -#define MODULE_PERFORMANCE @"WXPerformance" -#define MODULE_ERROR @"WXError" -#define TYPE_MEASURE_REAL @"measure_real_time" -#define TYPE_DIMEN_REAL @"dimen_real_time" -#define TYPE_JS_ERROR @"js" - -@protocol WXAnalyzerProtocol - - -@required -/** - @param value = @{ - @"group":group, - @"module":module, - @"type":type, - @"data":jsonData - }; - */ -- (void)transfer:(NSDictionary *) value; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXApmForInstance.h b/ios/UniMPSDK/Headers/weexHeader/WXApmForInstance.h deleted file mode 100644 index a8162462..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXApmForInstance.h +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXJSExceptionInfo.h" - -#pragma mark - const static string - -extern NSString* const WEEX_PAGE_TOPIC; - -/************** properties *****************/ -extern NSString* const KEY_PROPERTIES_ERROR_CODE; -extern NSString* const KEY_PAGE_PROPERTIES_BIZ_ID; -extern NSString* const KEY_PAGE_PROPERTIES_BUBDLE_URL; -extern NSString* const KEY_PAGE_PROPERTIES_JSLIB_VERSION; -extern NSString* const KEY_PAGE_PROPERTIES_WEEX_VERSION; -extern NSString* const KEY_PAGE_PROPERTIES_REQUEST_TYPE; -extern NSString* const KEY_PAGE_PROPERTIES_Z_CACHE_INFO; -extern NSString* const KEY_PAGE_PROPERTIES_JS_FM_INIT; -extern NSString* const KEY_PAGE_PROPERTIES_BUNDLE_TYPE; -extern NSString* const KEY_PAGE_PROPERTIES_CONTAINER_NAME; -extern NSString* const KEY_PAGE_PROPERTIES_INSTANCE_TYPE; -extern NSString* const KEY_PAGE_PROPERTIES_PARENT_PAGE; -extern NSString* const KEY_PAGE_PROPERTIES_RENDER_TYPE; - - -///************** stages *****************/ -extern NSString* const KEY_PAGE_STAGES_START; -extern NSString* const KEY_PAGE_STAGES_DOWN_BUNDLE_START; -extern NSString* const KEY_PAGE_STAGES_DOWN_BUNDLE_END; -extern NSString* const KEY_PAGE_STAGES_RENDER_ORGIGIN; -extern NSString* const KEY_PAGE_STAGES_LOAD_BUNDLE_START; -extern NSString* const KEY_PAGE_STAGES_LOAD_BUNDLE_END; -extern NSString* const KEY_PAGE_STAGES_CREATE_FINISH; -extern NSString* const KEY_PAGE_STAGES_FSRENDER; -extern NSString* const KEY_PAGE_STAGES_NEW_FSRENDER; -extern NSString* const KEY_PAGE_STAGES_INTERACTION; -extern NSString* const KEY_PAGE_STAGES_DESTROY; - -///************** stats *****************/ -extern NSString* const KEY_PAGE_STATS_BUNDLE_SIZE; -extern NSString* const KEY_PAGE_STATS_FS_CALL_JS_TIME; -extern NSString* const KEY_PAGE_STATS_FS_CALL_JS_NUM; -extern NSString* const KEY_PAGE_STATS_FS_TIMER_NUM; -extern NSString* const KEY_PAGE_STATS_FS_CALL_NATIVE_TIME; -extern NSString* const KEY_PAGE_STATS_FS_CALL_NATIVE_NUM; -extern NSString* const KEY_PAGE_STATS_FS_CALL_EVENT_NUM; -extern NSString* const KEY_PAGE_STATS_FS_REQUEST_NUM; - -extern NSString* const KEY_PAGE_STATS_SCROLLER_NUM; -extern NSString* const KEY_PAGE_STATS_CELL_EXCEED_NUM; -extern NSString* const KEY_PAGE_STATS_CELL_UN_RE_USE_NUM; -extern NSString* const KEY_PAGE_STATS_CELL_DATA_UN_RECYCLE_NUM; -extern NSString* const KEY_PAGE_STATS_EMBED_COUNT; -extern NSString* const KEY_PAGE_STATS_LARGE_IMG_COUNT; - -extern NSString* const KEY_PAGE_STATS_MAX_DEEP_VIEW; -extern NSString* const KEY_PAGE_STATS_MAX_DEEP_DOM; -extern NSString* const KEY_PAGE_STATS_MAX_COMPONENT_NUM; -extern NSString* const KEY_PAGE_STATS_WRONG_IMG_SIZE_COUNT; -extern NSString* const KEY_PAGE_STATS_IMG_UN_RECYCLE_NUM; - -extern NSString* const KEY_PAGE_STATS_I_SCREEN_VIEW_COUNT; -extern NSString* const KEY_PAGE_STATS_I_ALL_VIEW_COUNT; - -extern NSString* const KEY_PAGE_STATS_I_COMPONENT_CREATE_COUNT; -extern NSString* const KEY_PAGE_ANIM_BACK_NUM; -extern NSString* const KEY_PAGE_TIMER_BACK_NUM; -extern NSString* const KEY_PAGE_STATS_ACTUAL_DOWNLOAD_TIME; - -extern NSString* const KEY_PAGE_STATS_IMG_LOAD_NUM; -extern NSString* const KEY_PAGE_STATS_IMG_LOAD_SUCCESS_NUM; -extern NSString* const KEY_PAGE_STATS_IMG_LOAD_FAIL_NUM; -extern NSString* const KEY_PAGE_STATS_NET_NUM; -extern NSString* const KEY_PAGE_STATS_NET_SUCCESS_NUM; -extern NSString* const KEY_PAGE_STATS_NET_FAIL_NUM; -extern NSString* const KEY_PAGE_STAGES_FIRST_INTERACTION_VIEW; -extern NSString* const KEY_PAGE_STATS_BODY_RATIO; - -///************** value *****************/ -extern NSString* const VALUE_ERROR_CODE_DEFAULT; - - - -@interface WXApmForInstance : NSObject - -@property (nonatomic, assign) BOOL isFSEnd; -@property (nonatomic,assign) BOOL isOpenApm; -@property (nonatomic, assign) BOOL isStartRecord; -@property (nonatomic, assign) BOOL hasAddView; -@property (nonatomic, assign) BOOL isDegrade; -@property (nonatomic, assign) BOOL isStartRender; -@property (nonatomic,assign) BOOL hasRecordFirstInterationView; -@property (nonatomic, assign) BOOL isDownLoadFailed; -@property (nonatomic,assign) double pageRatio; - -#pragma mark - basic method - -- (void) onEvent:(NSString *)name withValue:(id)value; -- (void) onStage:(NSString *)name; -- (void) onStageWithTime:(NSString*)name time:(long)unixTime; -- (void) setProperty:(NSString *)name withValue:(id)value; -- (void) setStatistic:(NSString *)name withValue:(double)value; - -#pragma mark - instance record - -- (void) startRecord:(NSString*) instanceId; -- (void) endRecord; -- (void) updateFSDiffStats:(NSString *)name withDiffValue:(double)diff; -- (void) updateDiffStats:(NSString *)name withDiffValue:(double)diff; -- (void) updateMaxStats:(NSString *)name curMaxValue:(double)maxValue; -- (void) updateExtInfoFromResponseHeader:(NSDictionary*) extInfo; -- (void) forceSetInteractionTime:(long) unixTime; - - -#pragma mark - called by IWXHttpAdapter implementer - -- (void) actionNetRequest; -- (void) actionNetRequestResult:(bool)succeed withErrorCode:(NSString*)errorCode; - -#pragma mark - called by IWXImgLoaderAdapter implementer -- (void) actionImgLoad; -- (void) actionImgLoadResult:(bool)succeed withErrorCode:(NSString*)errorCode; - -#pragma mark record top5 errorMsg -- (void) recordErrorMsg:(WXJSExceptionInfo *)exception; -- (NSDictionary*) stageDic; - -#pragma mark templateinfo -- (NSString*) templateInfo; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXApmProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXApmProtocol.h deleted file mode 100644 index 42643f0b..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXApmProtocol.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - - -@protocol WXApmProtocol - -/** - * start record - * - * @param instanceId instanceId - */ -@required -- (void) onStart:(NSString*)instanceId topic:(NSString*)topic; - -/** - * pause apm record (apm ext mem / fps) - */ -@required -- (void) pauseApmRecord; - -/** - * resume apm record (apm ext mem / fps) - */ -@required -- (void) resumeApmRecord; - -/** - * end record - */ -@required -- (void) onEnd; - -/** - * record event - */ -@required -- (void) onEvent:(NSString *)name withValue:(id)value; - -/** - * record stage - */ -@required -- (void) onStage:(NSString *)name withValue:(long)timestamp; - -/** - * record property - */ -@required -- (void) addProperty:(NSString *)name withValue:(id)value; - -/** - * record statistic - */ -@required -- (void) addStatistic:(NSString *)name withValue:(double)value; - -@required -- (void) onSubProcedureBegin:(NSString*)subProcedureName; - -@required -- (void) onSubProcedureEndSucceed:(NSString*)subProcedureName; - -@required -- (void) onSubProcedureEndFailed:(NSString*)subProcedureName; - -/** - * record biz properties - */ -@required -- (void) addBiz:(NSString *)bizID withValue:(NSDictionary *)properties; - -/** - * record biz stage - */ -@required -- (void) addBizStage:(NSString *)bizID withValue:(NSDictionary *)stage; - -@end - -@protocol WXApmGeneratorProtocol - -@required -- (id)gengratorApmInstance:(NSString *) type; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXAppConfiguration.h b/ios/UniMPSDK/Headers/weexHeader/WXAppConfiguration.h deleted file mode 100644 index c7c68543..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXAppConfiguration.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@interface WXAppConfiguration : NSObject - -/** - * @abstract Group or organization of your app, default value is nil. - */ -+ (NSString *)appGroup; -+ (void)setAppGroup:(NSString *) appGroup; - -/** - * @abstract Name of your app, default is value for CFBundleDisplayName in main bundle. - */ -+ (NSString *)appName; -+ (void)setAppName:(NSString *)appName; - -/** - * @abstract Version of your app, default is value for CFBundleShortVersionString in main bundle. - */ -+ (NSString *)appVersion; -+ (void)setAppVersion:(NSString *)appVersion; - -/** - * @abstract External user agent of your app, all requests sent by weex will set the user agent on header, default value is nil. - */ -+ (NSString *)externalUserAgent; -+ (void)setExternalUserAgent:(NSString *)userAgent; - -/** - * @abstract JSFrameworkVersion - */ -+ (NSString *)JSFrameworkVersion; -+ (void)setJSFrameworkVersion:(NSString *)JSFrameworkVersion; - -/** - + * @abstract JSFrameworkLibSize - + */ -+ (NSUInteger)JSFrameworkLibSize; -+ (void)setJSFrameworkLibSize:(NSUInteger)JSFrameworkLibSize; - -/* - * @abstract customizeProtocolClasses - */ -+ (NSArray*)customizeProtocolClasses; -+ (void)setCustomizeProtocolClasses:(NSArray*)customizeProtocolClasses; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXAppMonitorProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXAppMonitorProtocol.h deleted file mode 100644 index 71120972..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXAppMonitorProtocol.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXModuleProtocol.h" - -/** dimenValue */ -#define BIZTYPE @"bizType" -#define PAGENAME @"pageName" -#define WXSDKVERSION @"WXSDKVersion" -#define JSLIBVERSION @"JSLibVersion" -#define JSLIBSIZE @"JSLibSize" -#define WXREQUESTTYPE @"requestType" -#define WXCONNECTIONTYPE @"connectionType" -#define NETWORKTYPE @"networkType" -#define CACHETYPE @"cacheType" -#define WXCUSTOMMONITORINFO @"customMonitorInfo" - -/** measureValue */ - -#define SDKINITTIME @"SDKInitTime" -#define SDKINITINVOKETIME @"SDKInitInvokeTime" -#define JSLIBINITTIME @"JSLibInitTime" -#define JSTEMPLATESIZE @"JSTemplateSize" -#define NETWORKTIME @"networkTime" -#define COMMUNICATETIME @"communicateTime" -#define SCREENRENDERTIME @"screenRenderTime" -#define TOTALTIME @"totalTime" -#define FIRSETSCREENJSFEXECUTETIME @"firstScreenJSFExecuteTime" - -#define CALLCREATEINSTANCETIME @"callCreateInstanceTime" -#define COMMUNICATETOTALTIME @"communicateTotalTime" -#define FSRENDERTIME @"fsRenderTime" -#define COMPONENTCOUNT @"componentCount" -#define M_COMPONENT_TIME @"componentCreateTime" - -#define CACHEPROCESSTIME @"cacheProcessTime" -#define CACHERATIO @"cacheRatio" - -//todo new point -#define M_FS_CALL_JS_TIME @"fsCallJsTotalTime" -#define M_FS_CALL_JS_NUM @"fsCallJsTotalNum" -#define M_FS_CALL_NATIVE_TIME @"fsCallNativeTotalTime" -#define M_FS_CALL_NATIVE_NUM @"fsCallNativeTotalNum" -#define M_FS_CALL_EVENT_NUM @"fsCallEventTotalNum" -#define M_FS_REQUEST_NET_NUM @"fsRequestNum" -#define M_CELL_EXCEED_NUM @"cellExceedNum" -#define M_MAX_DEEP_VDOM @"maxDeepVDomLayer" -#define M_IMG_WRONG_SIZE_NUM @"imgSizeCount" -#define M_TIMER_NUM @"timerCount" -#define M_WRONG_IMG_NUM @"imgSizeCount" -#define M_INTERACTION_TIME @"interactionTime" -#define M_INTERACTION_ADD_COUNT @"interactionViewAddCount" -#define M_INTERACTION_LIMIT_ADD_COUNT @"interactionViewAddLimitCount" -#define M_NEW_FS_RENDER_TIME @"newFsRenderTime" - - -@protocol WXAppMonitorProtocol - -- (void)commitAppMonitorArgs:(NSDictionary *)args; - -- (void)commitAppMonitorAlarm:(NSString *)pageName monitorPoint:(NSString *)monitorPoint success:(BOOL)success errorCode:(NSString *)errorCode errorMsg:(NSString *)errorMsg arg:(NSString *)arg; - -@optional - -- (void)commitMonitorWithPage:(NSString *)pageName monitorPoint:(NSString *)monitorPoint args:(NSDictionary *)args; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXBaseViewController.h b/ios/UniMPSDK/Headers/weexHeader/WXBaseViewController.h deleted file mode 100644 index 221c6c8f..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXBaseViewController.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -/** - * The WXBaseViewController class provides the infrastructure for managing the weex view in your app. It is - * responsible for creating a weex instance or rendering the weex view, for observing the lifecycle of the - * view such as "appear" or "disappear"、"foreground" or "background" etc. You can initialize this controller by - * special bundle URL. - */ - -@interface WXBaseViewController : UIViewController - -/** - * @abstract initializes the viewcontroller with bundle url. - * - * @param sourceURL The url of bundle rendered to a weex view. - * - * @return a object the class of WXBaseViewController. - * - */ -- (instancetype)initWithSourceURL:(NSURL *)sourceURL; - -/** - * @abstract refreshes the weex view in controller. - */ -- (void)refreshWeex; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXBridgeManager.h b/ios/UniMPSDK/Headers/weexHeader/WXBridgeManager.h deleted file mode 100644 index 3422ab06..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXBridgeManager.h +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import - -@class WXBridgeMethod; -@class WXSDKInstance; - -#ifdef __cplusplus -extern "C" { -#endif - void WXPerformBlockOnBridgeThread(void (^block)(void)); -#ifdef __cplusplus -} -#endif - -@interface WXBridgeManager : NSObject - -/** - * return instance at the top of the stack. - **/ -@property (nonatomic, weak, readonly) WXSDKInstance *topInstance; - -/** - * Create Instance Method - * @param instance : instance id - * @param temp : template data - * @param options : parameters - * @param data : external data - **/ -- (void)createInstance:(NSString *)instance - template:(NSString *)temp - options:(NSDictionary *)options - data:(id)data; - -/** - * Create Instance with opcode - * @param instance : instance id - * @param contents : opcode data - * @param options : parameters - * @param data : external data - **/ -- (void)createInstance:(NSString *)instance - contents:(NSData *)contents - options:(NSDictionary *)options - data:(id)data; - -/** - * @abstract return currentInstanceId - **/ -- (NSArray *)getInstanceIdStack; - -/** - * Destroy Instance Method - * @param instance : instance id - **/ -- (void)destroyInstance:(NSString *)instance; - -/** - * Trigger full GC, for dev and debug only. - **/ -- (void)forceGarbageCollection; - -/** - * Refresh Instance Method - * @param instance : instance id - * @param data : external data - **/ -- (void)refreshInstance:(NSString *)instance data:(id)data; - -/** - * Unload - **/ -- (void)unload; - -/** - * Update Instance State Method - * @param instance : instance id - * @param data : parameters - **/ -- (void)updateState:(NSString *)instance data:(id)data; - -/** - * Execute JSFramework Script - * @param script : script code - **/ -- (void)executeJsFramework:(NSString *)script; - -/** - * Register JS service Script - * @param name : service name - * @param serviceScript : script code - * @param options : service options - * @param completion : completion callback - **/ -- (void)registerService:(NSString *)name withService:(NSString *)serviceScript withOptions:(NSDictionary *)options completion:(void(^)(BOOL result))completion; - - -/** - * Register JS service Script - * @param name : service name - * @param serviceScriptUrl : script url - * @param options : service options - * @param completion : completion callback - **/ --(void)registerService:(NSString *)name withServiceUrl:(NSURL *)serviceScriptUrl withOptions:(NSDictionary *)options completion:(void(^)(BOOL result))completion; - -/** - * Unregister JS service Script - * @param name : script code - **/ -- (void)unregisterService:(NSString *)name; - -/** - * Register Modules Method - * @param modules : module list - **/ -- (void)registerModules:(NSDictionary *)modules; - -/** - * Register Components Method - * @param components component list - **/ -- (void)registerComponents:(NSArray* )components; - -/** - * FireEvent - * @param instanceId instance id - * @param ref : node reference - * @param type : event type - * @param params : parameters in event object - * @param domChanges dom value changes, used for two-way data binding - **/ -- (void)fireEvent:(NSString *)instanceId ref:(NSString *)ref type:(NSString *)type params:(NSDictionary *)params domChanges:(NSDictionary *)domChanges; - -/** - * FireEvent - * @param instanceId instance id - * @param ref : node reference - * @param type : event type - * @param params : parameters in event object - * @param domChanges dom value changes, used for two-way data binding - * @param handlerArguments : arguments passed to event handler - **/ -- (void)fireEvent:(NSString *)instanceId ref:(NSString *)ref type:(NSString *)type params:(NSDictionary *)params domChanges:(NSDictionary *)domChanges handlerArguments:(NSArray *)handlerArguments; - -- (JSValue *)fireEventWithResult:(NSString *)instanceId ref:(NSString *)ref type:(NSString *)type params:(NSDictionary *)params domChanges:(NSDictionary *)domChanges; - -/** - * componentHook - * @param instanceId : instance id - * @param componentId : compoent id - * @param type : component hook Type, such as life-cycle - * @param hookPhase : hook phase - */ -- (void)callComponentHook:(NSString*)instanceId componentId:(NSString*)componentId type:(NSString*)type hook:(NSString*)hookPhase args:(NSArray*)args competion:(void (^)(JSValue * value))complection; -/** - * callBack - * - * @param instanceId instanceId - * @param funcId funcId - * @param params params - * @param keepAlive indicate that whether this func will be reused - */ -- (void)callBack:(NSString *)instanceId funcId:(NSString *)funcId params:(id)params keepAlive:(BOOL)keepAlive; - -/** - * Connect To WebSocket for devtool debug - * @param url : url to connect - **/ -- (void)connectToDevToolWithUrl:(NSURL *)url; - -/** - * CallBack - * @param instanceId instance id - * @param funcId : callback id - * @param params : parameters - **/ -- (void)callBack:(NSString *)instanceId funcId:(NSString *)funcId params:(id)params; - -/** - * Connect To WebSocket for collecting log - * @param url : url to connect - **/ -- (void)connectToWebSocket:(NSURL *)url; - -/** - * Log To WebSocket - * @param flag : the tag to identify - * @param message : message to output - **/ -- (void)logToWebSocket:(NSString *)flag message:(NSString *)message; - -/** - * Reset Environment - **/ -- (void)resetEnvironment; - -- (void)fireEvent:(NSString *)instanceId ref:(NSString *)ref type:(NSString *)type params:(NSDictionary *)params DEPRECATED_MSG_ATTRIBUTE("Use fireEvent:ref:type:params:domChanges: method instead."); -- (void)executeJsMethod:(WXBridgeMethod *)method DEPRECATED_MSG_ATTRIBUTE(); - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXBridgeProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXBridgeProtocol.h deleted file mode 100644 index 90bb9556..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXBridgeProtocol.h +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -typedef NSInteger(^WXJSCallNative)(NSString *instance, NSArray *tasks, NSString *callback); -typedef NSInteger(^WXJSCallAddElement)(NSString *instanceId, NSString *parentRef, NSDictionary *elementData, NSInteger index); -typedef NSInteger(^WXJSCallCreateBody)(NSString *instanceId, NSDictionary *bodyData); -typedef NSInteger(^WXJSCallRemoveElement)(NSString *instanceId,NSString *ref); -typedef NSInteger(^WXJSCallMoveElement)(NSString *instanceId,NSString *ref,NSString *parentRef,NSInteger index); -typedef NSInteger(^WXJSCallUpdateAttrs)(NSString *instanceId,NSString *ref,NSDictionary *attrsData); -typedef NSInteger(^WXJSCallUpdateStyle)(NSString *instanceId,NSString *ref,NSDictionary *stylesData); -typedef NSInteger(^WXJSCallAddEvent)(NSString *instanceId,NSString *ref,NSString *event); -typedef NSInteger(^WXJSCallRemoveEvent)(NSString *instanceId,NSString *ref,NSString *event); -typedef NSInteger(^WXJSCallCreateFinish)(NSString *instanceId); -typedef NSInteger(^WXJSCallRefreshFinish)(NSString *instanceId); -typedef NSInteger(^WXJSCallUpdateFinish)(NSString *instanceId); -typedef NSInvocation *(^WXJSCallNativeModule)(NSString *instanceId, NSString *moduleName, NSString *methodName, NSArray *args, NSDictionary *options); -typedef void (^WXJSCallNativeComponent)(NSString *instanceId, NSString *componentRef, NSString *methodName, NSArray *args, NSDictionary *options); - -@protocol WXBridgeProtocol - -@property (nonatomic, readonly) JSValue* exception; - -/** - * Executes the js framework code in javascript engine - * You can do some setup in this method - */ -- (void)executeJSFramework:(NSString *)frameworkScript; - -/** - * Executes the js code in javascript engine - * You can do some setup in this method - */ -- (void)executeJavascript:(NSString *)script; - -/** - * Executes global js method with specific arguments - */ -- (JSValue *)callJSMethod:(NSString *)method args:(NSArray*)args; - -/** - * Reset js engine environment, called when any environment variable is changed. - */ -- (void)resetEnvironment; - -@optional - -/** - * Remove instance's timer. - */ --(void)removeTimers:(NSString *)instance; - -/** - * Called when garbage collection is wanted by sdk. - */ -- (void)garbageCollect; - -@required - -/** - * Register callback when call native tasks occur - */ -- (void)registerCallNative:(WXJSCallNative)callNative; - -/** - * Register callback when addElement tasks occur - */ -- (void)registerCallAddElement:(WXJSCallAddElement)callAddElement; - -/** - * Register callback when createBody tasks occur - */ -- (void)registerCallCreateBody:(WXJSCallCreateBody)callCreateBody; - -/** - * Register callback when removeElement tasks occur - */ -- (void)registerCallRemoveElement:(WXJSCallRemoveElement)callRemoveElement; - -/** - * Register callback when removeElement tasks occur - */ -- (void)registerCallMoveElement:(WXJSCallMoveElement)callMoveElement; - -/** - * Register callback when updateAttrs tasks occur - */ -- (void)registerCallUpdateAttrs:(WXJSCallUpdateAttrs)callUpdateAttrs; - -/** - * Register callback when updateStyle tasks occur - */ -- (void)registerCallUpdateStyle:(WXJSCallUpdateStyle)callUpdateStyle; - -/** - * Register callback when addEvent tasks occur - */ -- (void)registerCallAddEvent:(WXJSCallAddEvent)callAddEvent; - -/** - * Register callback when removeEvent tasks occur - */ -- (void)registerCallRemoveEvent:(WXJSCallRemoveEvent)callRemoveEvent; - -/** - * Register callback when createFinish tasks occur -*/ -- (void)registerCallCreateFinish:(WXJSCallCreateFinish)callCreateFinish; - -/** - * Register callback for global js function `callNativeModule` - */ -- (void)registerCallNativeModule:(WXJSCallNativeModule)callNativeModuleBlock; - -/** - * Register callback for global js function `callNativeComponent` - */ -- (void)registerCallNativeComponent:(WXJSCallNativeComponent)callNativeComponentBlock; - -@optional - -/** - * Register callback when refreshFinish tasks occur - */ -- (void)registerCallRefreshFinish:(WXJSCallRefreshFinish)callRefreshFinish; - -/** - * Register callback when updateFinish tasks occur - */ -- (void)registerCallUpdateFinish:(WXJSCallUpdateFinish)callUpdateFinish; - -/* - * Executes the specified JavaScript code, treating the specified URL as its source location. - * Evaluating a script runs any top-level code and adds function or object definitions to the brige’s global object. - * The sourceURL parameter is informative only; debuggers may use this URL when reporting exceptions. - @param script The JavaScript source code to evaluate. - @param sourceURL A URL to be considered as the script’s origin. - @return ReturnsThe last value generated by the script. Note that a script can result in the JavaScript value undefined. - */ -- (JSValue *)executeJavascript:(NSString *)script withSourceURL:(NSURL*)sourceURL; - - -@property (nonatomic, strong) NSString* weexInstanceId; - -/** - set JavaScriptContext - */ -- (void)setJSContext:(JSContext*)context; - -/* - * javaScript runtime context - */ -- (JSContext*)javaScriptContext; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXComponent+Layout.h b/ios/UniMPSDK/Headers/weexHeader/WXComponent+Layout.h deleted file mode 100644 index 4b883f04..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXComponent+Layout.h +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXComponent.h" -#import "WXSDKInstance.h" -#import "WXUtility.h" - -#define FlexUndefined NAN - -#ifdef __cplusplus -#include "layout.h" - -typedef WeexCore::WXCoreFlexDirection WXCoreFlexDirection; -typedef WeexCore::WXCoreFlexWrap WXCoreFlexWrap; -typedef WeexCore::WXCoreJustifyContent WXCoreJustifyContent; -typedef WeexCore::WXCoreAlignItems WXCoreAlignItems; -typedef WeexCore::WXCoreAlignSelf WXCoreAlignSelf; -typedef WeexCore::WXCorePositionType WXCorePositionType; -typedef WeexCore::WXCoreDirection WXCoreDirection; - -extern "C" { -#endif - bool flexIsUndefined(float value); -#ifdef __cplusplus -} -#endif - -#ifndef __cplusplus -// Ensure that .m files can use css style enum definitions. -#include "flex_enum.h" - -typedef enum WXCoreFlexDirection WXCoreFlexDirection; -typedef enum WXCoreFlexWrap WXCoreFlexWrap; -typedef enum WXCoreJustifyContent WXCoreJustifyContent; -typedef enum WXCoreAlignItems WXCoreAlignItems; -typedef enum WXCoreAlignSelf WXCoreAlignSelf; -typedef enum WXCorePositionType WXCorePositionType; -typedef enum WXCoreDirection WXCoreDirection; - -#endif - -@interface WXComponent () -{ - @package -#ifdef __cplusplus - WeexCore::WXCoreLayoutNode *_flexCssNode; -#endif // __cplusplus - - CGRect _calculatedFrame; - CGPoint _absolutePosition; - WXPositionType _positionType; - BOOL _isLastLayoutDirectionRTL; - BOOL _isLayoutDirectionRTL; -} - -/** - * @abstract Return the css node used to layout. - * - * @warning Subclasses must not override this. - */ -#ifdef __cplusplus -@property (nonatomic, readonly, assign) WeexCore::WXCoreLayoutNode *flexCssNode; -#endif - -/** - * @abstract Get css style value for key. The key should be of CSS standard form. - * This method is for convenience use in C/ObjC environment. And if you want to - * retrieve all style values or in C++, you could use flexCssNode directly. - * - * Thread usage: - * This method should be invoked in component thread by WXPerformBlockOnComponentThread. - * Note that all initWithRef methods of WXComponent and its subclasses are performed in - * component thread by default. Therefore you can call this method directly in initWithRef. - * - * Supported keys: - * width, height, min-width, min-height, max-width, max-height, - * margin-(left/right/top/bottom) - * padding-(left/right/top/bottom) - * border-(left/right/top/bottom)-width - * left, right, top, bottom - * flex-grow - */ -- (float)getCssStyleValueForKey:(NSString *)key; - -/** - * @abstract Get css style flex-direction. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCoreFlexDirection)getCssStyleFlexDirection; - -/** - * @abstract Get css style flex-wrap. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCoreFlexWrap)getCssStyleFlexWrap; - -/** - * @abstract Get css style justify-content. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCoreJustifyContent)getCssStyleJustifyContent; - -/** - * @abstract Get css style align-items. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCoreAlignItems)getCssStyleAlignItems; - -/** - * @abstract Get css style align-self. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCoreAlignSelf)getCssStyleAlignSelf; - -/** - * @abstract Get css style position. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCorePositionType)getCssStylePositionType; - -/** - * @abstract Get css layout direction. Thread usage the same as getCssStyleValueForKey. - */ -- (WXCoreDirection)getCssDirection; - -/** - * @abstract Convert layout dimension value like 'left', 'width' to style value in js considering viewport and scale. - */ -- (NSString*)convertLayoutValueToStyleValue:(NSString*)valueName; - -/** - * @abstract Get style width of a container(scroller like) with safe value. No NAN, No zero. - */ -- (CGFloat)safeContainerStyleWidth; - -/** - * @abstract Delete css node of a subcomponent. - */ -- (void)removeSubcomponentCssNode:(WXComponent *)subcomponent; - -#pragma mark - RTL - -@property (nonatomic, assign, readonly) BOOL isDirectionRTL; - -// Now we scrollView RTL solution is tranform -// so scrollView need tranform subviews when RTL by default -// if your component view is not scrollView but also implement RTL layout by tranform,you need return YES -- (BOOL)shouldTransformSubviewsWhenRTL; - -- (void)layoutDirectionDidChanged:(BOOL)isRTL; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXComponent.h b/ios/UniMPSDK/Headers/weexHeader/WXComponent.h deleted file mode 100644 index 95fe14d3..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXComponent.h +++ /dev/null @@ -1,470 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * def : use weex_flex_engin - * ndef: use yoga - **/ - - -#import -#import "WXType.h" - -@class WXSDKInstance; - -typedef enum : NSUInteger { - WXDisplayTypeNone, - WXDisplayTypeBlock -} WXDisplayType; - -/** - * @abstract the component callback , result can be string or dictionary. - * @discussion callback data to js, the id of callback function will be removed to save memory. - */ -typedef void (^WXCallback)(_Nonnull id result); -// DEPRECATED_MSG_ATTRIBUTE("use WXKeepAliveCallback, you can specify keep the callback or not, if keeped, it can be called multi times, or it will be removed after called.") - -/** - * @abstract the component callback , result can be string or dictionary. - * @discussion callback data to js, you can specify the keepAlive parameter to keep callback function id keepalive or not. If the keepAlive is true, it won't be removed unitl instance destroyed, so you can call it repetitious. - */ -typedef void (^WXKeepAliveCallback)(_Nonnull id result, BOOL keepAlive); - -NS_ASSUME_NONNULL_BEGIN - -@interface WXComponent : NSObject - -///-------------------------------------- -/// @name Component Hierarchy Management -///-------------------------------------- - -/** - * @abstract Initializes a new component using the specified properties. - * - * @param ref the identity string of component - * @param type component type - * @param styles component's styles - * @param attributes component's attributes - * @param events component's events - * @param weexInstance the weexInstance with which the component associated - * - * @return A WXComponent instance. - */ -- (instancetype)initWithRef:(NSString *)ref - type:(NSString*)type - styles:(nullable NSDictionary *)styles - attributes:(nullable NSDictionary *)attributes - events:(nullable NSArray *)events - weexInstance:(WXSDKInstance *)weexInstance; - -/** - * @abstract The component's identifier string. - */ -@property (nonatomic, readonly, strong) NSString *ref; - -/** - * @abstract The component's type string. - */ -@property (nonatomic, readonly, copy) NSString *type; - -/** - * @abstract The component's type. - */ -@property (nonatomic, assign) WXComponentType componentType; - -/** - * @abstract The component's styles. - */ -@property (nonatomic, readonly, strong) NSDictionary *styles; - -/** - * @abstract The component's pseudoClassStyles. - */ -@property (nonatomic, readonly, strong) NSDictionary *pseudoClassStyles; - -/** - * @abstract The component's attributes. - */ -@property (nonatomic, readonly, strong) NSDictionary *attributes; - -/** - * @abstract The component's events. - */ -@property (nonatomic, readonly, strong) NSArray *events; - -/** - * @abstract The reference to - */ -@property (nonatomic, readonly, weak, nullable) WXSDKInstance *weexInstance; - -/** - * @abstract The component's subcomponents. - */ -@property (nonatomic, readonly, strong, nullable) NSArray *subcomponents; - -/** - * @abstract The component's supercomponent. - */ -@property (nonatomic, readonly, weak, nullable) WXComponent *supercomponent; - -///-------------------------------------- -/// @name Layout -///-------------------------------------- - -/** - * @abstract Return the calculated frame. - * - * @warning Subclasses must not override this. - */ -@property(nonatomic, readonly, assign) CGRect calculatedFrame; - -/** - * @abstract Tell if component's view frame will keep synchronized with calculatedFrame. - * Default Value is YES. - */ -@property(nonatomic, assign) BOOL isViewFrameSyncWithCalculated; - -///** -// * @abstract Return the calculated absolute position. -// * -// * @warning Subclasses must not override this. -// */ -//@property(nonatomic, assign) CGPoint absolutePosition; - -/** - * @abstract Invalidates the component's layout and marks it as needing an update. - * - * @discussion You can call this method to indicate that the layout of a component has changed and must be updated. Weex typically calls this method automatically when the layout-related styles change or when subcomponents are added or removed. - * - */ -- (void)setNeedsLayout; - -/** - * @abstract Returns a Boolean indicating whether the component has been marked as needing a layout update. - * - * @return YES if the component has been marked as requiring a layout update. - * - */ -- (BOOL)needsLayout; - -/** - * @abstract return a measure block for measure component's layout - * - * constrainedSize: The maximum size the receiver should fit in. - * - * @return A block which will ask the component to measure and return the size that best fits for a constrained size. - * - * @discussion Subclasses can override this method to perform their own layout behaviour. Weex will use the returned block to measure the component's layout, ignoring its own layout mechanism. - * - */ -- (nullable CGSize (^)(CGSize constrainedSize))measureBlock; - -/** - * @abstract Called on main thread when the component has just laid out. - */ -- (void)layoutDidFinish; - -/** - * @abstract Update component's CSS style values for external components. - * Could be called in any thread and will be scheduled to component thread. - */ -- (void)updateLayoutStyles:(NSDictionary*)styles; - -///-------------------------------------- -/// @name View Management -///-------------------------------------- - -/** - * @abstract The view that the component manages. - * - * @discussion If you access this property and its value is currently nil, the component automatically calls the loadView method and returns the resulting view. - * - * @warning It must be on accessed on the main thread.Subclasses must not override this; - */ -@property(nonatomic, readonly, strong) UIView *view; - -/** - * @abstract The layer that the component manages. - * - * @discussion The layer property is also lazily initialized, similar to the view property. - * - * @warning It must be on accessed on the main thread. Subclasses must not override this; - */ -@property(nonatomic, readonly, strong) CALayer *layer; - -/** - * @abstract Creates the view that the component manages. - * - * @return View to be created - * - * @discussion This method loads or creates a view and assigns it to the view property. This is where subclasses should create their custom view hierarchy. Should never be called directly.The method is called on the main thread. - * - * @warning Your custom implementation of this method should not call super - */ -- (UIView *)loadView; - -/** - * @abstract Returns a Boolean value indicating whether the view is currently loaded. - */ -- (BOOL)isViewLoaded; - -/** - * @abstract Called before the load of component'€™s view . - * - * @discussion This is before -loadView. The method is called on the main thread. - */ -- (void)viewWillLoad; - -/** - * @abstract Called after the component'€™s view is loaded and set. - * - * @discussion This is after -loadView. This is the best time to perform additional initialization like adding gesture recognizers to the view.The method is called on the main thread. - */ -- (void)viewDidLoad; - -/** - * @abstract Called just before releasing the component'€™s view.The method is called on the main thread. - */ -- (void)viewWillUnload; - -/** - * @abstract Called when the component'€™s view is released.The method is called on the main thread. - */ -- (void)viewDidUnload; - -/** - * @abstract Inserts a subview at the specified index. - * - * @param subcomponent The subcomponent whose view will be inserted in the component's view. - * @param index The index in the array of the subcomponents property at which to insert the view. subcomponent indices start at 0 and cannot be greater than the number of subcomponents. - * - * @discussion This will insert subcomponent's view to the view hierachy by default, it can be overrided to change the view hierachy. The method is called on the main thread. - */ -- (void)insertSubview:(WXComponent *)subcomponent atIndex:(NSInteger)index; - -/** - * @abstract Tells the component that a subcomponent's view is about to be removed. - * - * @discussion The method is called on the main thread. - */ -- (void)willRemoveSubview:(WXComponent *)component; - -/** - * @abstract Remove the component's view from its superview. - * - * @discussion The method is called on the main thread. - */ -- (void)removeFromSuperview; - -/** - * @abstract Moves the subview to a new super component in the scene. The node maintains its current position in scene coordinates. - * - * @param newSupercomponent An WXComponent object to move the component to - * @param index The index in the array of the subcomponents property at which to insert the view. subcomponent indices start at 0 and cannot be greater than the number of subcomponents. - */ -- (void)moveToSuperview:(WXComponent *)newSupercomponent atIndex:(NSUInteger)index; - -///-------------------------------------- -/// @name Events -///-------------------------------------- - -/** - * @abstract Fire an event to the component in Javascript. - * - * @param eventName The name of the event to fire - * @param params The parameters to fire with - **/ -- (void)fireEvent:(NSString *)eventName params:(nullable NSDictionary *)params; - -/** - * @abstract Fire an event to the component and tell Javascript which value has been changed. - * Used for two-way data binding. - * - * @param eventName The name of the event to fire - * @param params The parameters to fire with - * @param domChanges The values has been changed, used for two-way data binding. - **/ -- (void)fireEvent:(NSString *)eventName params:(nullable NSDictionary *)params domChanges:(nullable NSDictionary *)domChanges; - -///-------------------------------------- -/// @name Updating -///-------------------------------------- - -/** - * @abstract Called when component's style are updated - * - * @param styles The updated style dictionary - * @discussion It can be overrided to handle specific style updating. The method is called on the main thread. - **/ -- (void)updateStyles:(NSDictionary *)styles; - -/** - * @abstract Called when component's style are reset - * - * @param styles The reset style's elements - * @discussion It can be overrided to handle specific style reseting. The method is called on the main thread. - **/ -- (void)resetStyles:(NSArray *)styles; - -/** - * @abstract Called when component's attributes are updated - * - * @param attributes The updated attributes dictionary - * @discussion It can be overrided to handle specific attribute updating. The method is called on the main thread. - **/ -- (void)updateAttributes:(NSDictionary *)attributes; - -/** - * @abstract Called when adding an event to the component - * - * @param eventName The added event's name - * @discussion It can be overrided to handle specific event adding. The method is called on the main thread. - **/ -- (void)addEvent:(NSString *)eventName; - -/** - * @abstract Called when removing an event from the component - * - * @param eventName The removed event's name - * @discussion It can be overrided to handle specific event removing. The method is called on the main thread. - **/ -- (void)removeEvent:(NSString *)eventName; - -/** - * @abstract Update component's transform with native transform struct - **/ -- (void)setNativeTransform:(CGAffineTransform)transform; - -///-------------------------------------- -/// @name Display -///-------------------------------------- - -@property (nonatomic, assign) WXDisplayType displayType; - -/** - * @abstract Marks the view as needing display. The method should be called on the main thread. - * @discussion You can use this method to notify the system that your component's contents need to be redrawn. This method makes a note of the request and returns immediately. The component is not actually redrawn until the next drawing cycle, at which point all invalidated components are updated. - * - */ -- (void)setNeedsDisplay; - -/** - * @abstract Returns a Boolean indicating whether the component needs to be drawn by `drawRect:` - */ -- (BOOL)needsDrawRect; - -/** - * @abstract Draws the component’s image within the passed-in rectangle. - * @parameter rect The rectangle which is the entire visible bounds of your component. - * @return A UIImage containing the contents of the current bitmap graphics context. - * @discussion - * Subclasses that use technologies such as Core Graphics and UIKit to draw their own component’s content should override this method and implement their drawing code there. You do not need to override this method if your component sets its content in superclass's way. - * By the time this method is called, UIKit has configured the drawing environment appropriately for your view and you can simply call whatever drawing methods and functions you need to render your content. Specifically, Weex creates and configures a graphics context for drawing and adjusts the transform of that context so that its origin matches the origin of your components’s bounds rectangle. You can get a reference to the graphics context using the `UIGraphicsGetCurrentContext` function, but do not establish a strong reference to the graphics context because it can change between calls to the drawRect: method. - * If you already have an image that represents the content of the component, then you should just return the image and do no drawing, otherwise you should draw your content in the current context and return nil. - * You should never call this method directly yourself. To invalidate part of your component's content, and thus cause that portion to be redrawn, call the `setNeedsDisplay` method instead. - */ -- (UIImage *)drawRect:(CGRect)rect; - -/** - * @abstract Called when a component finishes drawing its content. - * @discussion Do not call this method directly. Weex calls this method at appropriate times to finish updating the component's content. - * Subclasses can override this method to perform additional work on components that were rendered. - */ -- (void)didFinishDrawingLayer:(BOOL)success; - -/** - * readyToRender, do not use it, will be deprecated soon - */ -- (void)readyToRender; - -/** - * @abstract trigger display if you do not have a WXLayer - */ -- (void)triggerDisplay; - -/** - * @abstract Creates a graphics context with the specified bounds, the context will be used for `drawRect:` in compositing environment - * @discussion You can override this method to use your own graphics context. - */ -- (CGContextRef)beginDrawContext:(CGRect)bounds; - -/** - * @abstract Removes the current graphics context and returns an image based on the contents of the current graphics context. - * @discussion You can override this method to use your own graphics context. The image will be set to layer, if your drawing system do not have layer and do not need image, returning nil is fine. - */ -- (UIImage *)endDrawContext:(CGContextRef)context; - -/** - * @abstract Return a shapelayer when compoent need border radius.(Especially video components) - * - * @discussion You can add this shadelayer to your view.layer attached to component. - * - */ -- (CAShapeLayer *)drawBorderRadiusMaskLayer:(CGRect)rect; - -///-------------------------------------- -/// @name Data Binding -///-------------------------------------- - -/** - * @abstract Update binding data for the component - * @parameter binding data to update - */ -- (void)updateBindingData:(NSDictionary *)data; - -@end - -@interface WXComponent (Deprecated) - -typedef UIImage * _Nonnull(^WXDisplayBlock)(CGRect bounds, BOOL(^isCancelled)(void)); -typedef void(^WXDisplayCompletionBlock)(CALayer *layer, BOOL finished); - -/** - * @abstract Return a block to be called to draw layer. - * - * @discussion The block returned will be called on any thread. - * - */ -- (WXDisplayBlock)displayBlock DEPRECATED_MSG_ATTRIBUTE("use drawRect: method instead."); - -/** - * @abstract Return a block to be called while drawing is finished. - * - * @discussion The block returned will be called on main thread. - * - */ -- (WXDisplayCompletionBlock)displayCompletionBlock DEPRECATED_MSG_ATTRIBUTE("use didFinishDrawingLayer: method instead."); - -@end - -@interface UIView (WXComponent) - -@property (nonatomic, weak) WXComponent *wx_component; - -@property (nonatomic, weak) NSString *wx_ref; - -@end - -@interface CALayer (WXComponent) - -@property (nonatomic, weak) WXComponent *wx_component; - -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/weexHeader/WXComponentManager.h b/ios/UniMPSDK/Headers/weexHeader/WXComponentManager.h deleted file mode 100644 index 2fa258e2..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXComponentManager.h +++ /dev/null @@ -1,279 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import -#import "WXDisplayLinkManager.h" - -@class WXBridgeMethod; -@class WXSDKInstance; -@class WXComponent; - -#ifdef __cplusplus -extern "C" { -#endif - -void WXPerformBlockOnComponentThread(void (^block)(void)); -void WXPerformBlockSyncOnComponentThread(void (^block)(void)); - -#ifdef __cplusplus -} -#endif - -@interface WXComponentManager : NSObject - -@property (nonatomic, readonly, weak) WXSDKInstance *weexInstance; -@property (nonatomic, readonly, assign) BOOL isValid; - -/** - * @abstract initialize with weex instance - **/ -- (instancetype)initWithWeexInstance:(WXSDKInstance *)weexInstance; - -/** - * @abstract return the component thread - **/ -+ (NSThread *)componentThread; - -/** - * @abstract starting component tasks - **/ -- (void)startComponentTasks; - -/** - * @abstract tell the component manager that instance root view's frame has been changed - **/ -- (void)rootViewFrameDidChange:(CGRect)frame; - -///-------------------------------------- -/// @name Component Tree Building -///-------------------------------------- - -/** - * @abstract create root component - **/ -- (void)createBody:(NSString*)ref - type:(NSString*)type - styles:(NSDictionary*)styles - attributes:(NSDictionary*)attributes - events:(NSArray*)events - renderObject:(void*)renderObject; - -/** - * @abstract add a component to its parent - **/ -- (void)addComponent:(NSString*)ref - type:(NSString*)type - parentRef:(NSString*)parentRef - styles:(NSDictionary*)styles - attributes:(NSDictionary*)attributes - events:(NSArray*)events - index:(NSInteger)index - renderObject:(void*)renderObject; - -/** - * @abstract move component - **/ -- (void)moveComponent:(NSString *)ref toSuper:(NSString *)superRef atIndex:(NSInteger)index; - -/** - * @abstract remove component - **/ -- (void)removeComponent:(NSString *)ref; - -/** - * @abstract notify that a component tree is built and trigger layout, - may be called several times rendering a page. - **/ -- (void)appendTreeCreateFinish:(NSString*)ref; - -/** - * @abstract return component for specific ref, must be called on component thread by calling WXPerformBlockOnComponentThread - */ -- (WXComponent *)componentForRef:(NSString *)ref; - -/** - * @abstract return root component - */ -- (WXComponent *)componentForRoot; - -/** - * @abstract number of components created, must be called on component thread by calling WXPerformBlockOnComponentThread - */ -- (NSUInteger)numberOfComponents; - -/** - * @abstract add an existing component to references look-up map - */ -- (void)addComponent:(WXComponent *)component toIndexDictForRef:(NSString *)ref; - -///-------------------------------------- -/// @name Updating -///-------------------------------------- - -/** - * @abstract update styles - **/ -- (void)updateStyles:(NSDictionary *)styles forComponent:(NSString *)ref; - -/** - * @abstract update pseudo class styles - **/ -- (void)updatePseudoClassStyles:(NSDictionary *)styles forComponent:(NSString *)ref; - -/** - * @abstract update attributes - **/ -- (void)updateAttributes:(NSDictionary *)attributes forComponent:(NSString *)ref; - -/** - * @abstract quick check that if a component has non transition properties - **/ -- (BOOL)isTransitionNoneOfComponent:(NSString*)ref; // for quick access - -/** - * @abstract check if component with @ref has any style in @styles which is animated - **/ -- (BOOL)hasTransitionPropertyInStyles:(NSDictionary*)styles forComponent:(NSString*)ref; - -/** - * @abstract layout a component with frame output by weex core layout engine - **/ -- (void)layoutComponent:(WXComponent*)component frame:(CGRect)frame isRTL:(BOOL)isRTL innerMainSize:(CGFloat)innerMainSize; - -/** - * @abstract layout a component on platform side - **/ -- (void)layoutComponent:(WXComponent*)component; - -/** - * @abstract add event - **/ -- (void)addEvent:(NSString *)event toComponent:(NSString *)ref; - -/** - * @abstract remove event - **/ -- (void)removeEvent:(NSString *)event fromComponent:(NSString *)ref; - -/** - * @abstract scroll to specific component - **/ -- (void)scrollToComponent:(NSString *)ref options:(NSDictionary *)options; - -///-------------------------------------- -/// @name Life Cycle -///-------------------------------------- - -/** - * @abstract called when all doms are created - **/ -- (void)createFinish; - -/** - * @abstract called when all doms are refreshed - **/ -- (void)refreshFinish; - -/** - * @abstract called when all doms are updated - **/ -- (void)updateFinish; - -/** - * @abstract called when all doms are created and layout finished - **/ -- (void)renderFinish; - -/** - * @abstract called when render failed - **/ -- (void)renderFailed:(NSError *)error; - -/** - * @abstract unload - **/ -- (void)unload; - -/** - * @abstract invalidate component management, this can be called on main thread. - **/ -- (void)invalidate; - -///-------------------------------------- -/// @name Fixed -///-------------------------------------- - -/** - * @abstract add a component which has a fixed position - * - * @param fixComponent the fixed component to add - */ -- (void)addFixedComponent:(WXComponent *)fixComponent; - -/** - * @abstract remove a component which has a fixed position - * - * @param fixComponent the fixed component to remove - */ -- (void)removeFixedComponent:(WXComponent *)fixComponent; - -/** - * @abstract add a task to UI thread - **/ -- (void)_addUITask:(void (^)(void))block; - -/** - * @abstract execute a task to UI thread - **/ -- (void)executePrerenderUITask:(NSString *)url; - -/** - * @param styles a NSDictionary value, styles which will resolve - * @param component a WXComponent value, the target which you want to resolve - * @param isUpdateStyles a BOOL value, YES will udpate the component style property, NO will notifiy the lifeStyle of compoenent to handle, default value is NO. - * @abstract handleStyle will be add to a queue to be executed every frame, but handleStyleOnMainThread will switch to main thread and execute imediately, you can call this for your execution time sequence. - */ -- (void)handleStyleOnMainThread:(NSDictionary*)styles forComponent:(WXComponent *)component isUpdateStyles:(BOOL)isUpdateStyles; - -///-------------------------------------- -/// @name Enumerating -///-------------------------------------- - -/** - * Enumerate components using breadth-first search algorithm, - must be called on component thread by calling WXPerformBlockOnComponentThread - */ -- (void)enumerateComponentsUsingBlock:(void (^)(WXComponent *, BOOL *stop))block; - -#pragma mark batch mark - -/** - a start native batch tag for a group of UI operations, company with performBatchEnd - @see performBatchEnd - */ -- (void)performBatchBegin; - -/** - an end native batch tag for a group of UI operations, company with performBatchBegin - @see performBatchBegin - */ -- (void)performBatchEnd; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXConfigCenterProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXConfigCenterProtocol.h deleted file mode 100644 index d6210f41..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXConfigCenterProtocol.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -@protocol WXConfigCenterProtocol - -/** - get config from config center handler - @param key the key for config - @param defaultValue default value for key if the key does not exist. - @param isDefault whether the value is default value - @return the value for config key - */ -- (id)configForKey:(NSString*)key defaultValue:(id)defaultValue isDefault:(BOOL*)isDefault; - -@optional -/** - get group config from config center handler - @param group the groupName for config -*/ - -- (id)configForGroup:(NSString*)group; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXConvert.h b/ios/UniMPSDK/Headers/weexHeader/WXConvert.h deleted file mode 100644 index 878118f2..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXConvert.h +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import -#import "WXType.h" - -@class WXLength; -@class WXBoxShadow; -@interface WXConvert : NSObject - -+ (BOOL)BOOL:(id)value; - -/** - * @abstract convert value to CGFloat value - * @param value value - * @return CGFloat value - */ -+ (CGFloat)CGFloat:(id)value; - -/** - * @abstract convert value to CGFloat value, notice that it will return nan if input value is unsupported - * @param value value - * @return CGFloat value or nan(unsupported input) - */ -+ (CGFloat)flexCGFloat:(id)value; - -+ (NSUInteger)NSUInteger:(id)value; -+ (NSInteger)NSInteger:(id)value; -+ (NSString *)NSString:(id)value; - -/** - * 750px Adaptive - */ -typedef CGFloat WXPixelType; -// @parameter scaleFactor: please use weexInstance's pixelScaleFactor property -+ (WXPixelType)WXPixelType:(id)value scaleFactor:(CGFloat)scaleFactor; -// WXPixelType that use flexCGFloat to convert -+ (WXPixelType)WXFlexPixelType:(id)value scaleFactor:(CGFloat)scaleFactor; - - -+ (UIViewContentMode)UIViewContentMode:(id)value; -+ (WXImageQuality)WXImageQuality:(id)value; -+ (WXImageSharp)WXImageSharp:(id)value; -+ (UIAccessibilityTraits)WXUIAccessibilityTraits:(id)value; - -+ (UIColor *)UIColor:(id)value; -+ (CGColorRef)CGColor:(id)value; -+ (NSString *)HexWithColor:(UIColor *)color; -+ (WXBorderStyle)WXBorderStyle:(id)value; -typedef BOOL WXClipType; -+ (WXClipType)WXClipType:(id)value; -+ (WXPositionType)WXPositionType:(id)value; - -+ (WXTextStyle)WXTextStyle:(id)value; -/** - * @abstract UIFontWeightRegular ,UIFontWeightBold,etc are not support by the system which is less than 8.2. weex sdk set the float value. - * - * @param value support normal,blod,100,200,300,400,500,600,700,800,900 - * - * @return A float value. - * - */ -+ (CGFloat)WXTextWeight:(id)value; -+ (WXTextDecoration)WXTextDecoration:(id)value; -+ (NSTextAlignment)NSTextAlignment:(id)value; -+ (UIReturnKeyType)UIReturnKeyType:(id)value; - -+ (WXScrollDirection)WXScrollDirection:(id)value; -+ (UITableViewRowAnimation)UITableViewRowAnimation:(id)value; - -+ (UIViewAnimationOptions)UIViewAnimationTimingFunction:(id)value; -+ (CAMediaTimingFunction *)CAMediaTimingFunction:(id)value; - -+ (WXVisibility)WXVisibility:(id)value; - -+ (WXGradientType)gradientType:(id)value; - -+ (WXLength *)WXLength:(id)value isFloat:(BOOL)isFloat scaleFactor:(CGFloat)scaleFactor; -+ (WXBoxShadow *)WXBoxShadow:(id)value scaleFactor:(CGFloat)scaleFactor; - -@end - -@interface WXConvert (Deprecated) - -+ (WXPixelType)WXPixelType:(id)value DEPRECATED_MSG_ATTRIBUTE("Use [WXConvert WXPixelType:scaleFactor:] instead"); - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXDebugTool.h b/ios/UniMPSDK/Headers/weexHeader/WXDebugTool.h deleted file mode 100644 index f2e04305..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXDebugTool.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXModuleProtocol.h" - -@interface WXDebugTool : NSObject - -+ (instancetype)sharedInstance; - -//+ (void)showFPS; - -+ (void)setDebug:(BOOL)isDebug; - -+ (BOOL)isDebug; - -+ (void)setDevToolDebug:(BOOL)isDevToolDebug; - -+ (BOOL)isDevToolDebug; - -+ (void)setReplacedBundleJS:(NSURL*)url; - -+ (NSString*)getReplacedBundleJS; - -+ (void)setReplacedJSFramework:(NSURL*)url; - -+ (NSString*)getReplacedJSFramework; - -+ (BOOL) cacheJsService: (NSString *)name withScript: (NSString *)script withOptions: (NSDictionary *) options; - -+ (BOOL) removeCacheJsService: (NSString *)name; - -+ (NSDictionary *) jsServiceCache; - -+ (BOOL)isRemoteTracing; - -+ (void)setRemoteTracing:(BOOL)isRemoteTracing; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXDefine.h b/ios/UniMPSDK/Headers/weexHeader/WXDefine.h deleted file mode 100644 index 4dd1ab9a..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXDefine.h +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#ifndef __WX_DEFINE_H__ -#define __WX_DEFINE_H__ - -#define WX_SDK_VERSION @"0.20.0" - -#if defined(__cplusplus) -#define WX_EXTERN extern "C" __attribute__((visibility("default"))) -#else -#define WX_EXTERN extern __attribute__((visibility("default"))) -#endif - -/* - * Concatenate preprocessor tokens a and b without expanding macro definitions - * (however, if invoked from a macro, macro arguments are expanded). - */ -#define WX_CONCAT(a, b) a ## b -/* - * Concatenate preprocessor tokens a and b after macro-expanding them. - */ -#define WX_CONCAT_WRAPPER(a, b) WX_CONCAT(a, b) - -#define WX_CONCAT_TRIPLE(a, b, c) a ## b ## c - -#define WX_NSSTRING_HELPER(x) #x -#define WX_NSSTRING(x) @WX_NSSTRING_HELPER(x) - -#define WX_SDK_ROOT_REF @"_root" - -#define WX_TEXT_FONT_SIZE (32.0 * self.weexInstance.pixelScaleFactor) - -#define WX_UPDATE_CONFIG(prefix, name, configs) \ -NSString *selStr = [NSString stringWithFormat:@"%@_%@", prefix, name];\ -SEL selector = NSSelectorFromString(selStr);\ -Class clazz = WX_COMPONENT_CLASS(_properties[@"type"]);\ -if ([clazz respondsToSelector:selector]) {\ - configs = ((NSArray *(*)(id, SEL))objc_msgSend)(clazz, selector);\ -}\ - -#define WX_TYPE_KEYPATH(config, name, type, parts, vKey) \ -type = [config[0] stringByAppendingString:@":"];\ -NSString *keyPath = config.count > 1 ? config[1] : nil;\ -if(keyPath){\ - parts = [keyPath componentsSeparatedByString:@"."];\ - vKey = parts.lastObject;\ -parts = [parts subarrayWithRange:(NSRange){0, parts.count - 1}];\ -} else {\ - vKey = name;\ -} - -#define RGB(r, g, b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0] -#define RGB_A(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a] - -#define ScreenWidth ([[UIScreen mainScreen] bounds].size.width) - -#define WX_ERROR_DOMAIN @"WXErrorDomain" - -#define WX_APPLICATION_WILL_RESIGN_ACTIVE @"WXApplicationWillResignActiveEvent" - -#define WX_APPLICATION_DID_BECOME_ACTIVE @"WXApplicationDidBecomeActiveEvent" - -#define WX_INSTANCE_NOTIFICATION_UPDATE_STATE @"WXInstUpdateState" - -#define WX_COMPONENT_NOTIFICATION_VIEW_LOADED @"WXComponentViewLoaded" - -#define WX_INSTANCE_WILL_DESTROY_NOTIFICATION @"WXSDKInstanceWillDestroyNotification" - -#define WX_SDKINSTANCE_WILL_RENDER @"WXSDKInstanceWillRender" - -#define WX_COMPONENT_THREAD_NAME @"com.taobao.weex.component" - -#define WX_BRIDGE_THREAD_NAME @"com.taobao.weex.bridge" - -#define WX_FONT_DOWNLOAD_DIR [[WXUtility cacheDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"wxdownload"]] - -#define WX_EXPORT_METHOD_INTERNAL(method, token) \ -+ (NSString *)WX_CONCAT_WRAPPER(token, __LINE__) { \ - return NSStringFromSelector(method); \ -} - -#define WX_MODULE_EVENT_FIRE_NOTIFICATION @"WX_MODULE_EVENT_FIRE_NOTIFICATION" -#define WX_ICONFONT_DOWNLOAD_NOTIFICATION @"WX_ICONFONT_DOWNLOAD_FINISH_NOTIFICATION" - -#define WX_INSTANCE_JSCONTEXT_CREATE_NOTIFICATION @"WX_INSTANCE_JSCONTEXT_CREATE_NOTIFICATION" - -/** - * @abstract export public method - */ -#define WX_EXPORT_METHOD(method) WX_EXPORT_METHOD_INTERNAL(method,wx_export_method_) - -/** - * @abstract export public method, support sync return value - * @warning the method can only be called on js thread - */ -#define WX_EXPORT_METHOD_SYNC(method) WX_EXPORT_METHOD_INTERNAL(method,wx_export_method_sync_) - -/** extern "C" makes a function-name in C++ have 'C' linkage (compiler does not mangle the name) - * so that client C code can link to (i.e use) your function using a 'C' compatible header file that contains just the declaration of your function. - * http://stackoverflow.com/questions/1041866/in-c-source-what-is-the-effect-of-extern-c - */ -#ifdef __cplusplus -# define WX_EXTERN_C_BEGIN extern "C" { -# define WX_EXTERN_C_END } -#else -# define WX_EXTERN_C_BEGIN -# define WX_EXTERN_C_END -#endif - -/** - * @abstract Compared with system version of current device - * - * @return YES if greater than or equal to the system verison, otherwise, NO. - * - */ -#define WX_SYS_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) - -/** - * @abstract Compared with system version of current device - * - * @return YES if greater than the system verison, otherwise, NO. - * - */ -#define WX_SYS_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending) - -/** - * @abstract Compared with system version of current device - * - * @return YES if equal to the system verison, otherwise, NO. - * - */ -#define WX_SYS_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame) - -/** - * @abstract Compared with system version of current device - * - * @return YES if less than the system verison, otherwise, NO. - * - */ -#define WX_SYS_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending) - -/** - * @abstract Compared with system version of current device - * - * @return YES if less than or equal to the system verison, otherwise, NO. - * - */ -#define WX_SYS_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending) - -/** - * @abstract Estimate component's type. If the type isn't equal to WXComponentTypeCommon, then return. - */ -#define WX_CHECK_COMPONENT_TYPE(type)\ -do {\ -if (type != WXComponentTypeCommon) {\ -return;\ -}\ -} while (0); - - - -#if __has_attribute(objc_requires_super) - #define WX_REQUIRES_SUPER __attribute__((objc_requires_super)) -#else - #define WX_REQUIRES_SUPER -#endif - -#endif - -WX_EXTERN_C_BEGIN - -NSString* GetWeexSDKVersion(void); -NSString* GetWeexSDKBuildTime(void); -unsigned long GetWeexSDKBuildTimestamp(void); - -WX_EXTERN_C_END diff --git a/ios/UniMPSDK/Headers/weexHeader/WXDisplayLinkManager.h b/ios/UniMPSDK/Headers/weexHeader/WXDisplayLinkManager.h deleted file mode 100644 index e6572025..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXDisplayLinkManager.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@protocol WXDisplayLinkClient -/** - * @abstract defalut is NO - **/ -@property (nonatomic) BOOL suspend; - -- (void)handleDisplayLink; - -@end - -@interface WXDisplayLinkManager : NSObject -/** - * @abstract create WXDisplayLinkManager instance - **/ -+ (instancetype)sharedInstance; - -/** - * @abstract add WXDisplayLinkClient to array - **/ -- (void)registerDisplayClient:(id)client; - -/** - * @abstract remove WXDisplayLinkClient to array - **/ -- (void)unregisterDisplayClient:(id)client; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXErrorView.h b/ios/UniMPSDK/Headers/weexHeader/WXErrorView.h deleted file mode 100644 index 80f3954a..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXErrorView.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@protocol WXErrorViewDelegate - -- (void)onclickErrorView; - -@end - -@interface WXErrorView : UIView - -@property (nonatomic, weak) id delegate; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXEventModuleProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXEventModuleProtocol.h deleted file mode 100644 index ea207535..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXEventModuleProtocol.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXModuleProtocol.h" - -@protocol WXEventModuleProtocol - -- (void)openURL:(NSString *)url; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXExceptionUtils.h b/ios/UniMPSDK/Headers/weexHeader/WXExceptionUtils.h deleted file mode 100644 index c0bcf4b8..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXExceptionUtils.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXJSExceptionInfo.h" - -@interface WXExceptionUtils : NSObject - -+ (void)commitCriticalExceptionRT:(NSString *)instanceId errCode:(NSString *)errCode function:(NSString *)function exception:(NSString *)exception extParams:(NSDictionary *)extParams; - -+ (void)commitCriticalExceptionRT:(WXJSExceptionInfo*)jsExceptionInfo; -@end - diff --git a/ios/UniMPSDK/Headers/weexHeader/WXExtendCallNativeProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXExtendCallNativeProtocol.h deleted file mode 100644 index c920b73f..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXExtendCallNativeProtocol.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - - -#import - -@protocol WXExtendCallNativeProtocol - -@required - -/** - * @abstract check parameters - * - * @param parameters the checked parameters. - * - * @return YES or NO. - * - */ -+ (BOOL)checkParameters:(NSDictionary *)parameters; - -/** - * @abstract excuteCallNative - * - * @param parameters the checked parameters. - * - * @return A value. - * - */ -+ (id)excuteCallNative:(NSDictionary *)parameters; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXImgLoaderProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXImgLoaderProtocol.h deleted file mode 100644 index d2b6f51e..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXImgLoaderProtocol.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXModuleProtocol.h" -#import "WXType.h" - -@protocol WXImageOperationProtocol - -- (void)cancel; - -@end - -typedef NS_ENUM(NSInteger, WXImageLoaderCacheType) { - /** - * The image wasn't available the imageLoad caches, but was downloaded from the web. - */ - WXImageLoaderCacheTypeNone, - /** - * The image was obtained from the disk cache. - */ - WXImageLoaderCacheTypeDisk, - /** - * The image was obtained from the memory cache. - */ - WXImageLoaderCacheTypeMemory -}; - -@protocol WXImgLoaderProtocol - -/** - * @abstract Creates a image download handler with a given URL - * - * @param url The URL of the image to download - * - * @param imageFrame The frame of the image you want to set - * - * @param options : The options to be used for this download - * - * @param completedBlock : A block called once the download is completed. - * image : the image which has been download to local. - * error : the error which has happened in download. - * finished : a Boolean value indicating whether download action has finished. - */ -- (id)downloadImageWithURL:(NSString *)url imageFrame:(CGRect)imageFrame userInfo:(NSDictionary *)options completed:(void(^)(UIImage *image, NSError *error, BOOL finished))completedBlock; - -@optional - -/** - * @abstract Creates a image download handler with a given URL - * - * @param imageView UIImageView to display the image - * - * @param url The URL of the image to download - * - * @param placeholder The image to be set initially, until the image request finishes. - * - * @param options : The options to be used for download operation - * - * @param progressBlock : A block called while the download start - * - * @param completedBlock : A block called once the download is completed. - * image : the image which has been download to local. - * error : the error which has happened in download. - * finished : a Boolean value indicating whether download action has finished. - */ -- (void)setImageViewWithURL:(UIImageView*)imageView - url:(NSURL *)url - placeholderImage:(UIImage *)placeholder - options:(NSDictionary*)options - progress:(void(^)(NSInteger receivedSize, NSInteger expectedSize))progressBlock - completed:(void(^)(UIImage *image, NSError *error, WXImageLoaderCacheType cacheType, NSURL *imageURL))completedBlock; - -/** - * Cancel the current download image - */ -- (void)cancelCurrentImageLoad:(UIImageView*)imageView; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXIndicatorComponent.h b/ios/UniMPSDK/Headers/weexHeader/WXIndicatorComponent.h deleted file mode 100644 index f95080cd..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXIndicatorComponent.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXComponent.h" - -typedef enum -{ - WXPointIndicatorAlignCenter, // point indicator align center - WXPointIndicatorAlignLeft, // point indicator align left - WXPointIndicatorAlignRight, // point indicator align right -} WXPointIndicatorAlignStyle; - -@interface WXIndicatorView : UIView - -@property (nonatomic, assign) NSInteger pointCount; // total count point of point indicator -@property (nonatomic, assign) NSInteger currentPoint; // current light index of point at point indicator -@property (nonatomic, strong) UIColor *pointColor; // normal point color of point indicator -@property (nonatomic, strong) UIColor *lightColor; // highlight point color of point indicator -@property (nonatomic, assign) WXPointIndicatorAlignStyle alignStyle; //align style of point indicator -@property (nonatomic, assign) CGFloat pointSize; // point size of point indicator -@property (nonatomic, assign) CGFloat pointSpace; // point space of point indicator - -@end - - -@protocol WXIndicatorComponentDelegate - --(void)setIndicatorView:(WXIndicatorView *)indicatorView; - -@end - -@interface WXIndicatorComponent : WXComponent - -@property (nonatomic, weak) id delegate; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXJSExceptionInfo.h b/ios/UniMPSDK/Headers/weexHeader/WXJSExceptionInfo.h deleted file mode 100644 index c5b14ab4..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXJSExceptionInfo.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@interface WXJSExceptionInfo : NSObject -/** - * instance id - */ -@property(nonatomic,strong) NSString * instanceId; -/** - * the URL where the exception occurred - */ -@property(nonatomic,strong) NSString * bundleUrl; -/** - * error code - */ -@property(nonatomic,strong) NSString * errorCode; -/** - * the function name of exception - */ -@property(nonatomic,strong) NSString * functionName; -/** - * exception detail; - */ -@property(nonatomic,strong) NSString * exception; -/** - * extend filed - */ -@property(nonatomic,strong) NSMutableDictionary * userInfo; -/** - * weex sdk version - */ -@property(nonatomic,strong, readonly) NSString * sdkVersion; -/** - * js framework verison - */ -@property(nonatomic,strong, readonly) NSString * jsfmVersion; - - -/** - * @abstract Initializes a WXJSException instance - * @param instanceId the id of instance - * @param bundleUrl the page URL where the exception occurred - * @param errorCode error Code - * @param exception exception detail - * @param userInfo extend field - */ -- (instancetype)initWithInstanceId:(NSString *)instanceId - bundleUrl:(NSString *)bundleUrl - errorCode:(NSString *)errorCode - functionName:(NSString *)functionName - exception:(NSString *)exception - userInfo:(NSMutableDictionary *)userInfo; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXJSExceptionProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXJSExceptionProtocol.h deleted file mode 100644 index dd91aedc..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXJSExceptionProtocol.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXJSExceptionInfo.h" - -typedef WXJSExceptionInfo WXRuntimeCheckException; - -@protocol WXJSExceptionProtocol - -/** - * report js exception - * - * @param exception WXJSExceptionInfo - */ - -- (void)onJSException:(WXJSExceptionInfo*) exception; - - -@optional - -/** - * report runtime check exception, this is optional for this protocol - */ -- (void)onRuntimeCheckException:(WXRuntimeCheckException*)exception; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXJSFrameworkLoadProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXJSFrameworkLoadProtocol.h deleted file mode 100644 index b8df2d7c..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXJSFrameworkLoadProtocol.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -typedef void (^WXJSFrameworkLoadBlock)(NSString *path, NSString *script); - -@protocol WXJSFrameworkLoadProtocol - -- (void)loadRaxFramework:(WXJSFrameworkLoadBlock)block; -- (void)loadPolyfillFramework:(WXJSFrameworkLoadBlock)block; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXListComponent.h b/ios/UniMPSDK/Headers/weexHeader/WXListComponent.h deleted file mode 100644 index f2b75fad..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXListComponent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXScrollerComponent.h" - -@interface WXListComponent : WXScrollerComponent - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXModalUIModule.h b/ios/UniMPSDK/Headers/weexHeader/WXModalUIModule.h deleted file mode 100644 index 41582f2d..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXModalUIModule.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXModuleProtocol.h" - -@interface WXModalUIModule : NSObject - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXModuleProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXModuleProtocol.h deleted file mode 100644 index 4c8f8773..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXModuleProtocol.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXDefine.h" -#import "WXSDKInstance.h" - -#define MSG_SUCCESS @"WX_SUCCESS" -#define MSG_NO_HANDLER @"WX_NO_HANDLER" -#define MSG_NO_PERMIT @"WX_NO_PERMISSION" -#define MSG_FAILED @"WX_FAILED" -#define MSG_PARAM_ERR @"WX_PARAM_ERR" -#define MSG_EXP @"WX_EXCEPTION" - -@protocol WXModuleProtocol - -/** - * @abstract the module callback , result can be string or dictionary. - * @discussion callback data to js, the id of callback function will be removed to save memory. - */ -typedef void (^WXModuleCallback)(id result); -//DEPRECATED_MSG_ATTRIBUTE("use WXModuleKeepAliveCallback, you can specify keep the callback or not, if keeped, it can be called multi times, or it will be removed after called.") - -/** - * @abstract the module callback , result can be string or dictionary. - * @discussion callback data to js, you can specify the keepAlive parameter to keep callback function id keepalive or not. If the keepAlive is true, it won't be removed until instance destroyed, so you can call it repetitious. - */ -typedef void (^WXModuleKeepAliveCallback)(id result, BOOL keepAlive); - -#define WX_EXPORT_MODULE(module) - -@optional - -/** - * @abstract returns the execute queue for the module - * - * @return dispatch queue that module's methods will be invoked on - * - * @discussion the implementation is optional. Implement it if you want to execute module actions in the special queue. - * Default dispatch queue will be the main queue. - * - */ -- (dispatch_queue_t)targetExecuteQueue; - -/** - * @abstract returns the execute thread for the module - * - * @return thread that module's methods will be invoked on - * - * @discussion the implementation is optional. If you want to execute module actions in the special thread, you can create a new one. - * If `targetExecuteQueue` is implemented, the queue returned will be respected first. - * Default is the main thread. - * - */ -- (NSThread *)targetExecuteThread; - -/** - * @abstract the instance bind to this module. It helps you to get many useful properties related to the instance. - */ -@property (nonatomic, weak) WXSDKInstance *weexInstance; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXMonitor.h b/ios/UniMPSDK/Headers/weexHeader/WXMonitor.h deleted file mode 100644 index 395535d5..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXMonitor.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - - -#import -#import "WXDefine.h" -#import "WXSDKError.h" - -@class WXSDKInstance; - -typedef enum : NSUInteger { - // global - WXPTInitalize = 0, - WXPTInitalizeSync, - WXPTFrameworkExecute, - // instance - WXPTJSDownload, - WXPTJSCreateInstance, - WXFirstScreenJSFExecuteTime, - WXPTFirstScreenRender, - WXPTAllRender, - WXPTBundleSize, - //new point - //doc see @WXPerformance - WXPTFsCallJsTime, - WXPTFsCallJsNum, - WXPTFsCallNativeTime, - WXPTFsCallNativeNum, - WXPTFsCallEventNum, - WXPTFsReqNetNum, - WXPTCellExceedNum, - WXPTMaxDeepVDom, - WXPTImgWrongSizeNum, - WXPTTimerNum, - WXPTInteractionTime, - WXPTWrongImgSize, - WXPTInteractionAddCount, - WXPTInteractionLimitAddCount, - WXPTComponentCount, - WXPTComponentCreateTime, - WXPNewFSRenderTime, - //end - WXPTEnd -} WXPerformanceTag; - -typedef enum : NSUInteger { - WXMTJSFramework, - WXMTJSDownload, - WXMTJSBridge, - WXMTNativeRender, - WXMTJSService, -} WXMonitorTag; - -typedef NS_ENUM(NSInteger, CommitState) -{ - MonitorCommit, - - //just use on Debug mode - DebugAfterRequest, - DebugAfterFSFinish, - DebugAfterExist, - DebugOnRealTime -}; - -#define WX_MONITOR_SUCCESS_ON_PAGE(tag, pageName) [WXMonitor monitoringPointDidSuccess:tag onPage:pageName]; -#define WX_MONITOR_FAIL_ON_PAGE(tag, errorCode, errorMessage, pageName) \ -NSError *error = [NSError errorWithDomain:WX_ERROR_DOMAIN \ - code:errorCode \ - userInfo:@{NSLocalizedDescriptionKey:(errorMessage?:@"No message")}]; \ -[WXMonitor monitoringPoint:tag didFailWithError:error onPage:pageName]; - -#define WX_MONITOR_SUCCESS(tag) WX_MONITOR_SUCCESS_ON_PAGE(tag, nil) -#define WX_MONITOR_FAIL(tag, errorCode, errorMessage) WX_MONITOR_FAIL_ON_PAGE(tag, errorCode, errorMessage, nil) - -#define WX_MONITOR_PERF_START(tag) [WXMonitor performancePoint:tag willStartWithInstance:nil]; -#define WX_MONITOR_PERF_END(tag) [WXMonitor performancePoint:tag didEndWithInstance:nil]; -#define WX_MONITOR_INSTANCE_PERF_START(tag, instance) [WXMonitor performancePoint:tag willStartWithInstance:instance]; -#define WX_MONITOR_INSTANCE_PERF_END(tag, instance) [WXMonitor performancePoint:tag didEndWithInstance:instance]; -#define WX_MONITOR_PERF_SET(tag, value, instance) [WXMonitor performancePoint:tag didSetValue:value withInstance:instance]; -#define WX_MONITOR_INSTANCE_PERF_IS_RECORDED(tag, instance) [WXMonitor performancePoint:tag isRecordedWithInstance:instance] -#define WX_MONITOR_INSTANCE_PERF_COMMIT(instance) [WXMonitor performanceFinish:instance] - -//DEPRECATED_ATTRIBUTE -@interface WXMonitor : NSObject - -+ (void)performancePoint:(WXPerformanceTag)tag willStartWithInstance:(WXSDKInstance *)instance; -+ (void)performancePoint:(WXPerformanceTag)tag didEndWithInstance:(WXSDKInstance *)instance; -+ (void)performancePoint:(WXPerformanceTag)tag didSetValue:(double)value withInstance:(WXSDKInstance *)instance; -+ (BOOL)performancePoint:(WXPerformanceTag)tag isRecordedWithInstance:(WXSDKInstance *)instance; -+ (void)performanceFinish:(WXSDKInstance *)instance; - -+ (void)monitoringPointDidSuccess:(WXMonitorTag)tag onPage:(NSString *)pageName; -+ (void)monitoringPoint:(WXMonitorTag)tag didFailWithError:(NSError *)error onPage:(NSString *)pageName; - -+ (void)performanceFinishWithState:(CommitState) state instance:(WXSDKInstance *)instance; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXNavigationProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXNavigationProtocol.h deleted file mode 100644 index 22ad3e93..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXNavigationProtocol.h +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXModuleProtocol.h" - -/** - * This enum is used to define the position of navbar item. - */ -typedef NS_ENUM(NSInteger, WXNavigationItemPosition) { - WXNavigationItemPositionCenter = 0x00, - WXNavigationItemPositionRight, - WXNavigationItemPositionLeft, - WXNavigationItemPositionMore -}; - -/** - * @abstract The callback after executing navigator operations. The code has some status such as 'WX_SUCCESS'、'WX_FAILED' etc. The responseData - * contains some useful info you can handle. - */ -typedef void (^WXNavigationResultBlock)(NSString *code, NSDictionary * responseData); - -@protocol WXNavigationProtocol - -/** - * @abstract Returns the navigation controller. - * - * @param container The target controller. - */ -- (id)navigationControllerOfContainer:(UIViewController *)container; - -/** - * @abstract Sets the navigation bar hidden. - * - * @param hidden If YES, the navigation bar is hidden. - * - * @param animated Specify YES to animate the transition or NO if you do not want the transition to be animated. - * - * @param container The navigation controller. - * - */ -- (void)setNavigationBarHidden:(BOOL)hidden animated:(BOOL)animated - withContainer:(UIViewController *)container; - -/** - * @abstract Sets the background color of navigation bar. - * - * @param backgroundColor The background color of navigation bar. - * - * @param container The target controller. - * - */ -- (void)setNavigationBackgroundColor:(UIColor *)backgroundColor - withContainer:(UIViewController *)container; - -/** - * @abstract Sets the item in navigation bar. - * - * @param param The data which is passed to the implementation of the protocol. - * - * @param position The value indicates the position of item. - * - * @param block A block called once the action is completed. - * - * @param container The target controller. - * - */ -- (void)setNavigationItemWithParam:(NSDictionary *)param - position:(WXNavigationItemPosition)position - completion:(WXNavigationResultBlock)block - withContainer:(UIViewController *)container; - -/** - * @abstract Clears the item in navigation bar. - * - * @param param The data which is passed to the implementation of the protocol. - * - * @param position The value indicates the position of item. - * - * @param block A block called once the action is completed. - * - * @param container The target controller. - * - */ -- (void)clearNavigationItemWithParam:(NSDictionary *)param - position:(WXNavigationItemPosition)position - completion:(WXNavigationResultBlock)block - withContainer:(UIViewController *)container; - -/** - * @abstract Pushes a view controller onto the receiver’s stack. - * - * @param param The data which is passed to the implementation of the protocol. - * - * @param block A block called once the action is completed. - * - * @param container The target controller. - * - */ -- (void)pushViewControllerWithParam:(NSDictionary *)param - completion:(WXNavigationResultBlock)block - withContainer:(UIViewController *)container; - -/** - * @abstract Pops the top view controller from the navigation stack. - * - * @param param The data which is passed to the implementation of the protocol. - * - * @param block A block called once the action is completed. - * - * @param container The target controller. - * - */ -- (void)popViewControllerWithParam:(NSDictionary *)param - completion:(WXNavigationResultBlock)block - withContainer:(UIViewController *)container; - - -@optional - -/** - * @abstract open the resource at the specified URL which supports many common schemes, including the http, https, tel and mailto schemes. - * - * @param param The data which is passed to the implementation of the protocol. - * - * @param success A block called once the action is completed successfully. - * - * @param failure A block called once the action failed to be completed. - * - * @param container The target controller. - * - */ -- (void)open:(NSDictionary *)param success:(WXModuleCallback)success - failure:(WXModuleCallback)failure - withContainer:(UIViewController *)container; - - -/** - * @abstract close the current weex page - * - * @param param The data which is passed to the implementation of the protocol. - * - * @param success A block called once the action is completed successfully. - * - * @param failure A block called once the action failed to be completed. - * - * @param container The target controller. - * - */ -- (void)close:(NSDictionary *)param success:(WXModuleCallback)success - failure:(WXModuleCallback)failure - withContainer:(UIViewController *)container; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXNetworkProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXNetworkProtocol.h deleted file mode 100644 index 18256daf..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXNetworkProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXModuleProtocol.h" - -__attribute__ ((deprecated("Use WXResourceRequestHandler instead"))) -@protocol WXNetworkProtocol - -/** - * @abstract send request - * - * @param request The URL Request - * - * @param sendDataCallback This block is called periodically to notify the progress. - * - * @param responseCallback This block is called when receiving a response and no further messages will be received until the completion block is called. - * - * @param receiveDataCallback This block is called when data is available. - * - * @param completionCallback This block is called when the last message related to a specific task is sent. - */ -- (id)sendRequest:(NSURLRequest *)request withSendingData:(void (^)(int64_t bytesSent, int64_t totalBytes))sendDataCallback - withResponse:(void (^)(NSURLResponse *response))responseCallback - withReceiveData:(void (^)(NSData *data))receiveDataCallback - withCompeletion:(void (^)(NSData *totalData, NSError *error))completionCallback; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXPageEventNotifyEvent.h b/ios/UniMPSDK/Headers/weexHeader/WXPageEventNotifyEvent.h deleted file mode 100644 index d21633d8..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXPageEventNotifyEvent.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXJSExceptionInfo.h" - -@protocol WXPageEventNotifyEventProtocol - -- (void)hitTest:(CGPoint)point withEvent:(UIEvent *)event withView:(UIView*)view; - -- (void)notifyScrollEvent:(NSString*)instanceId from:(CGPoint)from to:(CGPoint)to; - -- (void)pageStart:(NSString*)instanceId; - -- (void)pageDestroy:(NSString*)instanceId; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXPrerenderManager.h b/ios/UniMPSDK/Headers/weexHeader/WXPrerenderManager.h deleted file mode 100644 index 3f04e467..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXPrerenderManager.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXModuleProtocol.h" - -@class WXModuleMethod; - -@interface WXPrerenderManager : NSObject - -- (instancetype) init NS_UNAVAILABLE; - -/** - * @abstract add prerender task - * - * @param url The prerender url string - * - * @param instanceId The instanceId that its instance add prerender task - * - * @param callback the module method callback - * - **/ -+ (void) addTask:(NSString *) url instanceId:(NSString *)instanceId callback:(WXModuleKeepAliveCallback)callback; - -/** - * @abstract add prerender task - * - * @param url The prerender url string - * - * @param callback the module method callback - * - **/ -+ (void) addGlobalTask:(NSString *) url callback:(WXModuleKeepAliveCallback)callback; - -/** - * @abstract Returns true if url is exist in task . - * - **/ -+ (BOOL) isTaskExist:(NSString *)url; - -/** - * @abstract Returns true if task ready. - * - **/ -+ (BOOL)isTaskReady:(NSString *)url; -/** - * @abstract Returns key from url . - * - **/ -+ (NSString *)getTaskKeyFromUrl:(NSString *)url; - -/** - * @abstract Returns error if url is prerender fail . - * - **/ -+ (NSError *)errorFromUrl:(NSString *)url; - -/** - * @abstract excute render from prerender cache . - * @discussion this method should be excuted after oncreat and onfail block created - * - **/ -+ (void) renderFromCache:(NSString *)url; - -/** - * @abstract Returns prerender root view . - * - **/ -+ (UIView *)viewFromUrl:(NSString *)url; - -/** - * @abstract Returns prerender instance . - * - **/ -+ (id)instanceFromUrl:(NSString *)url; - -/** - * @abstract Remove prerender task by url . - * - **/ -+ (void)removePrerenderTaskforUrl:(NSString *)url; - -/** - * @abstract store prerender module task by url . - * - **/ -+ (void)storePrerenderModuleTasks:(WXModuleMethod *)prerenderModuleTask forUrl:(NSString *)url; - -/** - * @abstract destroy task , it will destroy instance also. - * - **/ -+ (void)destroyTask:(NSString *)parentInstanceId; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXRecyclerComponent.h b/ios/UniMPSDK/Headers/weexHeader/WXRecyclerComponent.h deleted file mode 100644 index 5a25efde..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXRecyclerComponent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXScrollerComponent.h" - -@interface WXRecyclerComponent : WXScrollerComponent - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXResourceLoader.h b/ios/UniMPSDK/Headers/weexHeader/WXResourceLoader.h deleted file mode 100644 index 869bc7fb..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXResourceLoader.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXResourceRequest.h" -#import "WXResourceResponse.h" - - -@interface WXResourceLoader : NSObject - -@property (nonatomic, strong) WXResourceRequest *request; - -@property (nonatomic, copy) void (^onDataSent)(unsigned long long /* bytesSent */, unsigned long long /* totalBytesToBeSent */); -@property (nonatomic, copy) void (^onResponseReceived)(const WXResourceResponse *); -@property (nonatomic, copy) void (^onDataReceived)(NSData *); -@property (nonatomic, copy) void (^onFinished)(const WXResourceResponse *, NSData *); -@property (nonatomic, copy) void (^onFailed)(NSError *); - -- (instancetype)initWithRequest:(WXResourceRequest *)request; - -- (void)start; - -- (void)cancel:(NSError **)error; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXResourceRequest.h b/ios/UniMPSDK/Headers/weexHeader/WXResourceRequest.h deleted file mode 100644 index 8719350a..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXResourceRequest.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -typedef enum : NSUInteger { - WXResourceTypeMainBundle, - WXResourceTypeServiceBundle, - WXResourceTypeImage, - WXResourceTypeFont, - WXResourceTypeVideo, - WXResourceTypeLink, - WXResourceTypeOthers -} WXResourceType; - - -@interface WXResourceRequest : NSMutableURLRequest - -@property (nonatomic, strong) id taskIdentifier; -@property (nonatomic, assign) WXResourceType type; - -@property (nonatomic, strong) NSString *referrer; -@property (nonatomic, strong) NSString *userAgent; - -+ (instancetype)requestWithURL:(NSURL *)url - resourceType:(WXResourceType)type - referrer:(NSString *)referrer - cachePolicy:(NSURLRequestCachePolicy)cachePolicy; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXResourceRequestHandler.h b/ios/UniMPSDK/Headers/weexHeader/WXResourceRequestHandler.h deleted file mode 100644 index 6230f7f8..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXResourceRequestHandler.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - - -#import -#import "WXResourceRequest.h" -#import "WXResourceResponse.h" - -@protocol WXResourceRequestDelegate - -// Periodically informs the delegate of the progress of sending content to the server. -- (void)request:(WXResourceRequest *)request didSendData:(unsigned long long)bytesSent totalBytesToBeSent:(unsigned long long)totalBytesToBeSent; - -// Tells the delegate that the request received the initial reply (headers) from the server. -- (void)request:(WXResourceRequest *)request didReceiveResponse:(WXResourceResponse *)response; - -// Tells the delegate that the request has received some of the expected data. -- (void)request:(WXResourceRequest *)request didReceiveData:(NSData *)data; - -// Tells the delegate that the request finished transferring data. -- (void)requestDidFinishLoading:(WXResourceRequest *)request; - -// Tells the delegate that the request failed to load successfully. -- (void)request:(WXResourceRequest *)request didFailWithError:(NSError *)error; - -// Tells the delegate that when complete statistics information has been collected for the task. -#ifdef __IPHONE_10_0 -- (void)request:(WXResourceRequest *)request didFinishCollectingMetrics:(NSURLSessionTaskMetrics *)metrics API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)); -#endif - -@end - -@protocol WXResourceRequestHandler - -// Send a resource request with a delegate -- (void)sendRequest:(WXResourceRequest *)request withDelegate:(id)delegate; - -@optional - -// Cancel the ongoing request -- (void)cancelRequest:(WXResourceRequest *)request; - -@end - - diff --git a/ios/UniMPSDK/Headers/weexHeader/WXResourceResponse.h b/ios/UniMPSDK/Headers/weexHeader/WXResourceResponse.h deleted file mode 100644 index b20fb95d..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXResourceResponse.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - - -#import - -@interface WXResourceResponse : NSHTTPURLResponse - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXRichText.h b/ios/UniMPSDK/Headers/weexHeader/WXRichText.h deleted file mode 100644 index b0c768cc..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXRichText.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXComponent.h" - -@interface WXRichText : WXComponent - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXRootView.h b/ios/UniMPSDK/Headers/weexHeader/WXRootView.h deleted file mode 100644 index 68d02359..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXRootView.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@class WXSDKInstance; -@interface WXRootView : UIScrollView - -@property (nonatomic, weak) WXSDKInstance *instance; - -- (BOOL)isHasEvent; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXRootViewController.h b/ios/UniMPSDK/Headers/weexHeader/WXRootViewController.h deleted file mode 100644 index 6fb6cb8a..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXRootViewController.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -/** - * The WXRootViewController class inherited from UINavigationController class which implements a specialized - * view controller that manages the navigation of hierarchical content. Developing an iOS application, you - * need a series of customer pages which will be render by weex bundle. Sometimes, these pages are embedded in - * viewcontroller. This navigation controller makes it possible to present your page efficiently and makes it - * easier for the user to navigate that content. - */ - -@interface WXRootViewController : UINavigationController - -/** - * @abstract initialize the RootViewController with bundle url. - * - * @param sourceURL The bundle url which can be render to a weex view. - * - * @return a object the class of WXRootViewController. - * - * @discussion initialize this controller in function 'application:didFinishLaunchingWithOptions', and make it as rootViewController of window. In the - * weex application, all page content can be managed by the navigation, such as push or pop. - */ -- (id)initWithSourceURL:(NSURL *)sourceURL; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXSDKEngine.h b/ios/UniMPSDK/Headers/weexHeader/WXSDKEngine.h deleted file mode 100644 index ac014a57..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXSDKEngine.h +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@class WXSDKInstance; - -@interface WXSDKEngine : NSObject - -/** - * @abstract Register default modules/components/handlers, they will be registered only once. - **/ -+ (void)registerDefaults; - -/** - * @abstract Register a module for a given name - * - * @param name The module name to register - * - * @param clazz The module class to register - * - **/ -+ (void)registerModule:(NSString *)name withClass:(Class)clazz; - -/** - * @abstract Registers a component for a given name - * - * @param name The component name to register - * - * @param clazz The WXComponent subclass to register - * - **/ -+ (void)registerComponent:(NSString *)name withClass:(Class)clazz; - -/** - * @abstract Registers a extendCallNative Class for a given name - * - * @param name The extendCallNative name to register - * - * @param clazz The extendCallNative subclass to register - * - **/ -+ (void)registerExtendCallNative:(NSString *)name withClass:(Class)clazz; - -/** - * @abstract Registers a component for a given name and specific properties - * - * @param name The component name to register - * - * @param clazz The WXComponent subclass to register - * - * @param properties properties to apply to the component - * - */ -+ (void)registerComponent:(NSString *)name withClass:(Class)clazz withProperties:(NSDictionary *)properties; - -/** - * @abstract Registers a component for a given name, options and js code - * - * @param name The service name to register - * - * @param options The service options to register - * - * @param serviceScript service js code to invoke - * - */ -+ (void)registerService:(NSString *)name withScript:(NSString *)serviceScript withOptions:(NSDictionary *)options; - -/** - * @abstract Registers a component for a given name, options and js code - * - * @param name The service name to register - * - * @param options The service options to register - * - * @param serviceScript service js code to invoke - * - * @param completion Completion callback. JS is executed in asynchronously. - * - */ -+ (void)registerService:(NSString *)name withScript:(NSString *)serviceScript withOptions:(NSDictionary *)options completion:(void(^)(BOOL result))completion; - -/** - * @abstract Registers a component for a given name, options and js url - * - * @param name The service name to register - * - * @param options The service options to register - * - * @param serviceScriptUrl The service url to register - * - */ -+ (void)registerService:(NSString *)name withScriptUrl:(NSURL *)serviceScriptUrl withOptions:(NSDictionary *)options; - -/** - * @abstract Registers a component for a given name, options and js url - * - * @param name The service name to register - * - * @param options The service options to register - * - * @param serviceScriptUrl The service url to register - * - * @param completion Completion callback. JS is executed in asynchronously. - * - */ -+ (void)registerService:(NSString *)name withScriptUrl:(NSURL *)serviceScriptUrl withOptions:(NSDictionary *)options completion:(void(^)(BOOL result))completion; - -/** - * @abstract Registers a component for a given name, options and js code - * - * @param name The name of register service - * - */ -+ (void)unregisterService:(NSString *)name; - -/** - * @abstract Registers a handler for a given handler instance and specific protocol - * - * @param handler The handler instance to register - * - * @param protocol The protocol to confirm - * - */ -+ (void)registerHandler:(id)handler withProtocol:(Protocol *)protocol; - - -/** - * @abstract Returns a given handler instance for specific protocol - * - * @param protocol The protocol to confirm - * - */ -+ (id)handlerForProtocol:(Protocol *)protocol; - -/** - * @abstract Initializes the global sdk environment - * - * @discussion Injects main.js in app bundle as default JSFramework script. - * - **/ -+ (void)initSDKEnvironment; - -/** - * @abstract Initializes the environment with a given JSFramework script. - * - **/ -+ (void)initSDKEnvironment:(NSString *)script; - -/** - * @abstract Unloads the bridge context - * - **/ -+ (void)unload; - -/** - * @abstract restart Weex Engine. - **/ -+ (void)restart; - -/** - * @abstract restart Weex Engine with specify jsfm. - **/ -+ (void)restartWithScript:(NSString*)script; - -/** - * @abstract Returns the version of SDK - * - **/ -+ (NSString*)SDKEngineVersion; - -/** - * @abstract The Instance at the top of the rendering stack. - * - **/ -+ (WXSDKInstance *)topInstance; - -/** - * @abstract Add custom environment variables - * @discuss These variables can be obtained by $getConfig().env - * - **/ -+ (void)setCustomEnvironment:(NSDictionary *)environment; -+ (NSDictionary *)customEnvironment; - -/** - * @abstract Connects to websocket for collecting log - * - * @param URL The URL of websocket to connect - * - */ -+ (void)connectDebugServer:(NSString*)URL; - -/** - * @abstract Connects to websocket for devtool debug - * - * @param URL The URL of websocket to connect - * - */ -+ (void)connectDevToolServer:(NSString *)URL; - -@end - -@interface WXSDKEngine (Deprecated) - -+ (void)initSDKEnviroment DEPRECATED_MSG_ATTRIBUTE("To fix typo, use initSDKEnvironment method instead."); -+ (void)initSDKEnviroment:(NSString *)script DEPRECATED_MSG_ATTRIBUTE("To fix typo, use initSDKEnvironment: method instead."); - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXSDKError.h b/ios/UniMPSDK/Headers/weexHeader/WXSDKError.h deleted file mode 100644 index 52a9f207..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXSDKError.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXSDKInstance.h" - -#define WX_ERROR_GROUP_NATIVE @"NATIVE" -#define WX_ERROR_GROUP_JS @"JS" -#define WX_ERROR_GROUP_NET @"NET" - -#define WX_ERROR_TYPE_NATIVE @"NATIVE_ERROR" -#define WX_ERROR_TYPE_JS @"JS_ERROR" -#define WX_ERROR_TYPE_DEGRADE @"DEGRAD_ERROR" -#define WX_ERROR_TYPE_RENDER @"RENDER_ERROR" -#define WX_ERROR_TYPE_DOWNLOAD @"DOWN_LOAD_ERROR" - - -typedef NS_ENUM(int, WXSDKErrCode) -{ - WX_ERR_JSFRAMEWORK_START = -1001, - WX_ERR_JSFRAMEWORK_LOAD = -1002, - WX_ERR_JSFRAMEWORK_EXECUTE = -1003, - WX_ERR_JSFRAMEWORK_END = -1099, - - WX_ERR_JSBRIDGE_START = -2001, - WX_ERR_JSFUNC_PARAM = -2009, - WX_ERR_INVOKE_NATIVE = -2012, - WX_ERR_JS_EXECUTE = -2013, - WX_ERR_JSBRIDGE_END = -2099, - - WX_ERR_RENDER_START = -2100, - WX_ERR_RENDER_CREATEBODY = -2100, - WX_ERR_RENDER_UPDATTR = -2101, - WX_ERR_RENDER_UPDSTYLE = -2102, - WX_ERR_RENDER_ADDELEMENT = -2103, - WX_ERR_RENDER_REMOVEELEMENT = -2104, - WX_ERR_RENDER_MOVEELEMENT = -2105, - WX_ERR_RENDER_ADDEVENT = -2106, - WX_ERR_RENDER_REMOVEEVENT = -2107, - WX_ERR_RENDER_SCROLLTOELEMENT = -2110, - WX_ERR_RENDER_TWICE = -2111, - WX_ERR_RENDER_END = -2199, - - WX_ERR_DOWNLOAD_START = -2201, - WX_ERR_JSBUNDLE_DOWNLOAD = -2202, - WX_ERR_JSBUNDLE_STRING_CONVERT = -2203, - WX_ERR_NOT_CONNECTED_TO_INTERNET = -2205, - WX_ERR_CANCEL = -2204, - WX_ERR_DOWNLOAD_END = -2299, - - WX_KEY_EXCEPTION_SDK_INIT = -9000, - WX_KEY_EXCEPTION_INVOKE = -9100, - WX_KEY_EXCEPTION_JS_DOWNLOAD =-9200, - WX_KEY_EXCEPTION_DOM = -9300, - WX_KEY_EXCEPTION_WXBRIDGE=-9400, - - WX_KEY_EXCEPTION_DEGRADE = -9500, - WX_KEY_EXCEPTION_DEGRADE_CHECK_CONTENT_LENGTH_FAILED = -9501, - WX_KEY_EXCEPTION_DEGRADE_BUNDLE_CONTENTTYPE_ERROR = -9502, - WX_KEY_EXCEPTION_DEGRADE_OTHER_CAUSE = -9503, - WX_KEY_EXCEPTION_DEGRADE_NET_CODE_CAUSE = -9504, - - WX_KEY_EXCEPTION_ABILITY_DOWN = -9600, - WX_KEY_EXCEPTION_ABILITY_DOWN_IMAGE = -9601, - WX_KEY_EXCEPTION_ABILITY_DOWN_TOH5 = -9602, - WX_KEY_EXCEPTION_ABILITY_DOWN_ = -9603, - - WX_KEY_EXCEPTION_EMPTY_SCREEN_JS = -9700, - WX_KEY_EXCEPTION_EMPTY_SCREEN_NATIVE = -9701 -}; - -typedef NS_ENUM (NSInteger,WXSDKErrorType) -{ - WX_JS_ERROR, - WX_NATIVE_ERROR, - WX_RENDER_ERROR, - WX_DEGRADE_ERROR, - WX_DOWN_LOAD_ERROR -}; - -typedef NS_ENUM (NSInteger,WXSDKErrorGroup){ - WX_JS, - WX_NATIVE, - WX_NET -}; - -@interface WXSDKErrCodeUtil :NSObject - -+ (WXSDKErrorType) getErrorTypeByCode:(WXSDKErrCode) code; -+ (WXSDKErrorGroup) getErrorGroupByCode:(WXSDKErrCode) code; -+ (NSString *) convertGroupToStringName:(WXSDKErrorGroup) group; -+ (NSString *) convertTypeToStringName:(WXSDKErrorType)type; - -@end - diff --git a/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance+Bridge.h b/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance+Bridge.h deleted file mode 100644 index 4e84504f..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance+Bridge.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// WXSDKInstance+Bridge.h -// libWeex -// -// Created by dcloud on 2019/3/4. -// Copyright © 2019 DCloud. All rights reserved. -// - -#import -#import "WXSDKInstance.h" - -NS_ASSUME_NONNULL_BEGIN - - -typedef NS_ENUM(NSInteger, WXSDKInstanceBridgeEvent) { - WXSDKInstanceBridgeEventExec, - WXSDKInstanceBridgeEventExecSync, - WXSDKInstanceBridgeEventUniappFrameworkReady, - WXSDKInstanceBridgeEventPostMessage, - WXSDKInstanceBridgeEventGeInfo -}; - -@interface WXSDKInstance(DCPlusBridge) -@property (nonatomic, copy) id __nullable (^onMessage)(WXSDKInstanceBridgeEvent evt, id __nullable param); -- (void)postMessage:(NSDictionary*)message; -- (void)exec:(NSString*)message; -- (NSData*)execSync:(NSString*)message; -- (void)onUniappFramworkReady:(NSString*)message; -- (NSDictionary*)getConfigInfo; -- (void)dc_executeJavascript:(NSString*)javaScriptString; -- (void)clearOnMessage; -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance+DCExtend.h b/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance+DCExtend.h deleted file mode 100644 index 8bc2d7aa..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance+DCExtend.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// WXSDKInstance+DCExtend.h -// libWeex -// -// Created by XHY on 2019/2/18. -// Copyright © 2019 DCloud. All rights reserved. -// - -#import "WXSDKInstance.h" - -NS_ASSUME_NONNULL_BEGIN - -@interface WXSDKInstance (DCExtend) - - -/** - 交换原方法,在options中添加一些自定义参数 - */ -- (void)_dc_renderWithURL:(NSURL *)url options:(NSDictionary *)options data:(id)data; -- (void)_dc_renderView:(id)source options:(NSDictionary *)options data:(id)data; -@end - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance.h b/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance.h deleted file mode 100644 index acc828d3..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXSDKInstance.h +++ /dev/null @@ -1,450 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXComponent.h" -#import "WXJSExceptionInfo.h" -#import "WXResourceResponse.h" -#import "WXResourceRequest.h" -#import "WXBridgeProtocol.h" -#import "WXApmForInstance.h" -#import "WXComponentManager.h" - -extern NSString *const bundleUrlOptionKey; - -@interface WXSDKInstance : NSObject - -/** - * Init instance and render it using iOS native views. - * It is the same as initWithRenderType:@"platform" - **/ -- (instancetype)init; - -/** - * Init instance with custom render type. - **/ -- (instancetype)initWithRenderType:(NSString*)renderType; - -/** - * The render type. Default is "platform" - **/ -@property (nonatomic, strong, readonly) NSString* renderType; - -/** - * Returns YES when self.renderType != "platform" - **/ -@property (nonatomic, assign, readonly) BOOL isCustomRenderType; - -/* - * For weex containers in view controller(main containers), we may need to release render buffer - * of custom render type page to save memory. - */ -@property (nonatomic, assign) BOOL isMainContainerStack; - -/** - * The viewControler which the weex bundle is rendered in. - **/ -@property (nonatomic, weak) UIViewController *viewController; - -/** - * The Native root container used to bear the view rendered by weex file. - * The root view is controlled by WXSDKInstance, so you can only get it, but not change it. - **/ -@property (nonatomic, strong) UIView *rootView; - -/** - * Component can freeze the rootview frame through the variable isRootViewFrozen - * If Component want to freeze the rootview frame, set isRootViewFrozen YES, weex will not change the rootview frame when layout,or set NO. - **/ -@property (nonatomic, assign) BOOL isRootViewFrozen; - -/** - * Which indicates current instance needs to be validated or not to load,default value is false. - **/ -@property (nonatomic, assign) BOOL needValidate; - -/** - * Which indicates current instance use backup JS thread run,default value is false. - **/ -@property (nonatomic, assign) BOOL useBackupJsThread; - -/** - * The scriptURL of weex bundle. - **/ -@property (nonatomic, strong) NSURL *scriptURL; - -/** - * The parent instance. - **/ -@property (nonatomic, weak) WXSDKInstance *parentInstance; - -/** - * The node reference of parent instance. - **/ -@property (nonatomic, weak) NSString *parentNodeRef; - -/** - * The unique id to identify current weex instance. - **/ -@property (nonatomic, strong) NSString *instanceId; - -/** - * Which indicates current instance needs to be prerender or not,default value is false. - **/ -@property (nonatomic, assign) BOOL needPrerender; - -/** - * Custom info. - **/ -@property (nonatomic, strong) NSDictionary* containerInfo; - -/** - * Whether this instance is rendered or not. Please MUST not render an instance twice even if you have called destroyInstance. - **/ -@property (nonatomic, assign, readonly) BOOL isRendered; - -/** - * Get component manager of this instance. You can manipulate components then. - **/ -@property (nonatomic, readonly, strong) WXComponentManager *componentManager; - -/** - * The state of current instance. - **/ -typedef NS_ENUM(NSInteger, WXState) {//state.code - WeexInstanceAppear = 100, - WeexInstanceDisappear, - WeexInstanceForeground, - WeexInstanceBackground, - WeexInstanceMemoryWarning, - WeexInstanceBindChanged, - WeexInstanceDestroy -}; - - -typedef NS_ENUM(NSInteger, WXErrorType) {//error.domain - TemplateErrorType = 1, -}; - -typedef NS_ENUM(NSInteger, WXErrorCode) {//error.code - PlatformErrorCode = 1000, - OSVersionErrorCode, - AppVersionErrorCode, - WeexSDKVersionErrorCode, - DeviceModelErrorCode, - FrameworkVersionErrorCode, -}; - -@property (nonatomic, assign) WXState state; - -/** - * The callback triggered when the instance finishes creating the body. - * - * @return A block that takes a UIView argument, which is the root view - **/ -@property (nonatomic, copy) void (^onCreate)(UIView *); - -/** - * The callback triggered when the root container's frame has changed. - * - * @return A block that takes a UIView argument, which is the root view - **/ -@property (nonatomic, copy) void (^onLayoutChange)(UIView *); - -/** - * The callback triggered when the instance finishes rendering. - * - * @return A block that takes a UIView argument, which is the root view - **/ -@property (nonatomic, copy) void (^renderFinish)(UIView *); - -/** - * The callback triggered when the instance finishes refreshing weex view. - * - * @return A block that takes a UIView argument, which is the root view - **/ -@property (nonatomic, copy) void (^refreshFinish)(UIView *); -/** - * bundleType is the DSL type - */ -@property (nonatomic, strong) NSString * bundleType; - -/** - * Which decide whether to use data render,default value is false - */ -@property (nonatomic, assign, readonly) BOOL dataRender; - -/** - * Which decide whether to use binary code render, default value is false - */ -@property (nonatomic, assign, readonly) BOOL wlasmRender; - -/** - * The callback triggered when the instance fails to render. - * - * @return A block that takes a NSError argument, which is the error occured - **/ -@property (nonatomic, copy) void (^onFailed)(NSError *error); - -/** - * - * @return instance runtime JavaScript. - * you must call it in brige thread. Learn more at WXPerformBlockOnBridgeThread - **/ -- (id)instanceJavaScriptContext; - -/** - * The callback triggered when js occurs runtime error while executing. - * - * @return A block that takes a WXJSExceptionInfo argument, which is the exception info - **/ -@property (nonatomic, copy) void (^onJSRuntimeException)(WXJSExceptionInfo * jsException); - -/** - * The callback triggered when the instacne executes scrolling . - * - * @return A block that takes a CGPoint argument, which is content offset of the scroller - **/ -@property (nonatomic, copy) void (^onScroll)(CGPoint contentOffset); - -/** - * the callback to be run repeatedly while the instance is rendering. - * - * @return A block that takes a CGRect argument, which is the rect rendered - **/ -@property (nonatomic, copy) void (^onRenderProgress)(CGRect renderRect); - -/** - * The callback triggered when the bundleJS request finished in the renderWithURL. - * @return A block that takes response which the server response,request which send to server,data which the server returned and an error - */ -@property (nonatomic, copy) void(^onJSDownloadedFinish)(WXResourceResponse *response,WXResourceRequest *request,NSData *data, NSError* error); - -/** - * The callback triggered when the bundleJS request finished in the renderWithURL. If the callback returns YES, the render process will terminate. - * @return A block that takes response which the server response,request which send to server,data which the server returned and an error - */ -@property (nonatomic, copy) BOOL (^onRenderTerminateWhenJSDownloadedFinish)(WXResourceResponse *response,WXResourceRequest *request,NSData *data, NSError* error); - -@property(nonatomic,strong) NSDictionary* continerInfo; - -/** - * the frame of current instance. - **/ -@property (nonatomic, assign) CGRect frame; - -/** - * the info stored by user. - */ -@property (atomic, strong) NSMutableDictionary *userInfo; - -/** - * scale factor from css unit to device pixel. - */ -@property (nonatomic, assign, readonly) CGFloat pixelScaleFactor; -/** - * track component render - */ -@property (nonatomic, assign)BOOL trackComponent; -/** - * Renders weex view with bundle url. - * - * @param url The url of bundle rendered to a weex view. - **/ -- (void)renderWithURL:(NSURL *)url; - -/** - * Renders weex view with bundle url and some others. - * - * @param url The url of bundle rendered to a weex view. - * - * @param options The params passed by user - * - * @param data The data the bundle needs when rendered. Defalut is nil. - **/ -- (void)renderWithURL:(NSURL *)url options:(NSDictionary *)options data:(id)data; - -///** -// * Renders weex view with resource request. -// * -// * @param request The resource request specifying the URL to render with. -// * -// * @param options The params passed by user. -// * -// * @param data The data the bundle needs when rendered. Defalut is nil. -// **/ -//- (void)renderWithRequest:(WXResourceRequest *)request options:(NSDictionary *)options data:(id)data; - -/** - * Renders weex view with source string of bundle and some others. - * - * @param options The params passed by user. - * - * @param data The data the bundle needs when rendered. Defalut is nil. - **/ -- (void)renderView:(id)source options:(NSDictionary *)options data:(id)data; - -/** - * Reload the js bundle from the current URL and rerender. - * - * @param forcedReload when this parameter is true, the js bundle will always be reloaded from the server. If it is false, the instance may reload the js bundle from its cache. Default is false. - * - **/ -- (void)reload:(BOOL)forcedReload; - -/** - * Refreshes current instance components' layout after setting custom view port/device width. - **/ -- (void)reloadLayout; - -/** - * Refreshes current instance with data. - * - * @param data The data the bundle needs when rendered. - **/ -- (void)refreshInstance:(id)data; - -/** - * Destroys current instance. An instance destroyed should not be used for rendering again, please create another instance. - **/ -- (void)destroyInstance; - -/** - * Trigger full GC, for dev and debug only. - **/ -- (void)forceGarbageCollection; - -/** - * get module instance by class - */ -- (id)moduleForClass:(Class)moduleClass; - -/** - * get Component instance by ref, must be called on component thread by calling WXPerformBlockOnComponentThread - */ -- (WXComponent *)componentForRef:(NSString *)ref; - -/** - * Number of components created, must be called on component thread by calling WXPerformBlockOnComponentThread - */ -- (NSUInteger)numberOfComponents; - -/** - * Enumerate components using breadth-first search algorithm, - must be called on component thread by calling WXPerformBlockOnComponentThread - */ -- (void)enumerateComponentsUsingBlock:(void (^)(WXComponent *component, BOOL *stop))block; - -/** - * check whether the module eventName is registered - */ -- (BOOL)checkModuleEventRegistered:(NSString*)event moduleClassName:(NSString*)moduleClassName; - -/** - * fire module event; - * @param module which module you fire event to - * @param eventName the event name - * @param params event params - */ -- (void)fireModuleEvent:(Class)module eventName:(NSString *)eventName params:(NSDictionary*)params; - -/** - * fire global event - */ -- (void)fireGlobalEvent:(NSString *)eventName params:(NSDictionary *)params; - -/** - * complete url based with bundle url - */ -- (NSURL *)completeURL:(NSString *)url; - -/** - * jsbundle str ,may be nil (weak) - */ -- (NSString*) bundleTemplate; - -/** - * application performance statistics - */ -@property (nonatomic, strong) NSString *bizType; -@property (nonatomic, strong) NSString *pageName; -@property (nonatomic, weak) id pageObject; - -//Deprecated, use @WXApmForInstance -@property (nonatomic, strong) NSMutableDictionary *performanceDict; -@property (nonatomic, strong) WXApmForInstance* apmInstance; - -@property (nonatomic, assign) BOOL appearState; - -/* - * For custom render page to release/restore OpenGL resources, etc. - */ -- (void)willAppear; -- (void)didDisappear; - -/** - * Raw css styles are dropped after applied to layout nodes in WeexCore. - * If a page needs hot refresh(without recreating instance and reload js) after screen orientation changes or - * after setting custom view-port-width/screen-width/, you need to call setPageNeedsRawCssStyles to store all css styles - * internally for later use. Or you can use MetaModule's setPageArguments method and provide "reserveCssStyles" as "true" before rendering the page. - */ -- (void)setPageKeepRawCssStyles; -- (void)isKeepingRawCssStyles:(void(^)(BOOL))callback; - -/** - * Set additional argument value for WeexCore - */ -- (void)setPageArgument:(NSString*)key value:(NSString*)value; - -/** - * Set specific required page width and height to prevent this page using global values. - */ -- (void)setPageRequiredWidth:(CGFloat)width height:(CGFloat)height; - -/** - * Set specific required view port width prevent this page using global value (750px). - */ -- (void)setViewportWidth:(CGFloat)width; - -#pragma mark - dc extend -//-----------↓↓↓↓ uni extend ↓↓↓↓--------------------------------------------------------- -@property(nonatomic, assign)BOOL dc_transparentEvent; -@property (nonatomic, copy) void (^bundleJsExecFinish)(void); -@property (nonatomic, copy) UIView* (^dc_customRootView)(CGRect); -@property (nonatomic, assign, readonly) CGFloat dc_textFontSize; -@property (nonatomic, strong) NSString *dc_docPath; -@property(nonatomic, strong) NSString *dc_webviewId; -- (void)dc_setDefalutFontSize:(CGFloat)defaultFontSize; -//-----------↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑--------------------------------------------------------- -/** - * Deprecated - */ -@property (nonatomic, strong) NSDictionary *properties DEPRECATED_MSG_ATTRIBUTE(); -@property (nonatomic, assign) NSTimeInterval networkTime DEPRECATED_MSG_ATTRIBUTE(); -@property (nonatomic, copy) void (^updateFinish)(UIView *); - -@end - -@interface WXSDKInstance (Deprecated) - -- (void)finishPerformance DEPRECATED_MSG_ATTRIBUTE(); -- (void)reloadData:(id)data DEPRECATED_MSG_ATTRIBUTE("Use refreshInstance: method instead."); -- (void)creatFinish DEPRECATED_MSG_ATTRIBUTE(); - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXSDKManager.h b/ios/UniMPSDK/Headers/weexHeader/WXSDKManager.h deleted file mode 100644 index 9f8e4541..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXSDKManager.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXSDKInstance.h" -#import "WXBridgeManager.h" - -@class WXModuleManager; - -@interface WXSDKManager : NSObject - -/** - *@abstract Returns sdk manager - */ -+ (WXSDKManager *)sharedInstance; -/** - * @abstract Returns bridge manager - **/ -+ (WXBridgeManager *)bridgeMgr; - -/** - * @abstract Returns weex instance for specific identifier - **/ -+ (WXSDKInstance *)instanceForID:(NSString *)identifier; - -/** - * @abstract Returns weex instance for specific identifier - **/ -+ (void)storeInstance:(WXSDKInstance *)instance forID:(NSString *)identifier; - -/** - * @abstract Returns weex instance for specific identifier - **/ -+ (void)removeInstanceforID:(NSString *)identifier; - -/** - * @abstract unload - **/ -+ (void)unload; - -/** - * @abstract Returns module manager - **/ -+ (WXModuleManager *)moduleMgr DEPRECATED_MSG_ATTRIBUTE(); - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXScrollerComponent.h b/ios/UniMPSDK/Headers/weexHeader/WXScrollerComponent.h deleted file mode 100644 index ff27871a..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXScrollerComponent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXScrollerProtocol.h" -#import "WXComponent.h" - -@interface WXScrollerComponent : WXComponent - -@property (nonatomic, copy) void (^onScroll)(UIScrollView *scrollView); - -@property (nonatomic, copy) void (^scrollEventListener)(WXScrollerComponent* sender, NSString* event, NSDictionary* params); - -@property (nonatomic, assign) NSUInteger loadmoreretry; - -@property (nonatomic, assign) CGSize contentSize; - -- (void)handleAppear; - -- (CGPoint)absolutePositionForComponent:(WXComponent *)component; - -@end - diff --git a/ios/UniMPSDK/Headers/weexHeader/WXScrollerProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXScrollerProtocol.h deleted file mode 100644 index 9b72ba3f..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXScrollerProtocol.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXType.h" - -@class WXComponent; -@protocol WXScrollerProtocol - -/** - * @abstract add sticky component - */ -- (void)addStickyComponent:(WXComponent *)sticky; - -/** - * @abstract remove sticky component - */ -- (void)removeStickyComponent:(WXComponent *)sticky; - -/** - * @abstract adjust sticky components - */ -- (void)adjustSticky; - -/** - * @abstract add scroll listener - */ -- (void)addScrollToListener:(WXComponent *)target; - -/** - * @abstract remove scroll listener - */ -- (void)removeScrollToListener:(WXComponent *)target; - -- (void)scrollToComponent:(WXComponent *)component withOffset:(CGFloat)offset animated:(BOOL)animated; - -- (BOOL)isNeedLoadMore; - -- (void)loadMore; - -- (CGPoint)contentOffset; - -- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated; - -- (CGSize)contentSize; - -- (void)setContentSize:(CGSize)size; - -- (UIEdgeInsets)contentInset; - -- (void)setContentInset:(UIEdgeInsets)contentInset; - -- (void)resetLoadmore; - -- (void)addScrollDelegate:(id)delegate; -- (void)removeScrollDelegate:(id)delegate; - -- (WXScrollDirection)scrollDirection; - -@optional - -- (NSString*)refreshType; -- (BOOL)requestGestureShouldStopPropagation:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch; -/** - * @abstract adjust for RTL - */ -- (void)adjustForRTL; - -@end - diff --git a/ios/UniMPSDK/Headers/weexHeader/WXTracingManager.h b/ios/UniMPSDK/Headers/weexHeader/WXTracingManager.h deleted file mode 100644 index 1ad53e70..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXTracingManager.h +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXSDKInstance.h" - -#define WXTNetworkHanding @"loadJS" -#define WXTExecJS @"execJS" -#define WXTJSCall @"jsCall" -#define WXTDomCall @"domCall" -#define WXTRender @"render" -#define WXTRenderFinish @"renderFinish" - -#define WXTJSBridgeThread @"JSThread" -#define WXTDOMThread @"DOMThread" -#define WXTUIThread @"UIThread" -#define WXTMainThread @"MainThread" - -#define WXTracingBegin @"B" -#define WXTracingEnd @"E" -#define WXTracingDuration @"D" -#define WXTracingInstant @"i" - -#define WXTracingDurationDefault 0 - -typedef enum : NSUInteger { - // global - WXTracingNetworkHanding = 0, - WXTracingDataHanding, - WXTracingRender -} WXTracingTag; - - -@interface WXTracingApi:NSObject - -@property (nonatomic, copy) NSString *name; // -@property (nonatomic, copy) NSString *className; // -@property (nonatomic, copy) NSString *method; // - -@end - -@interface WXTracing:NSObject - -@property (nonatomic, copy) NSString *ref; // compnonet id -@property (nonatomic, copy) NSString *parentRef; // compnonet id -@property (nonatomic, copy) NSString *className; // compnonet class name or module class name -@property (nonatomic, copy) NSString *name; // register name -@property (nonatomic, copy) NSString *ph; // phase -@property (nonatomic) NSTimeInterval ts; // time -@property (nonatomic) long long traceId; -@property (nonatomic) NSTimeInterval duration; -@property (nonatomic, copy) NSString *fName; // functionName -@property (nonatomic, copy) NSString *iid; // instance id -@property (nonatomic) long long parentId;// parent event id -@property (nonatomic, copy) NSString *bundleUrl; -@property (nonatomic, copy) NSString *threadName; -@property (nonatomic, strong) NSMutableArray *childrenRefs; // children ids --(NSDictionary *)dictionary; -@end - -@interface WXTracingTask:NSObject - -@property (nonatomic, copy) NSString *iid; -@property (nonatomic) long long counter; -@property (nonatomic, copy) NSString *tag; -@property (nonatomic, copy) NSString *bundleUrl; -@property (nonatomic, strong) NSMutableArray *tracings; -@property (nonatomic, copy) NSString *bundleJSType; // - -@end - -@interface WXTracingManager : NSObject - -/** - * @discusstion weex perfermance tracing state - * @return isTracing , NO in the release environment. - */ -+(BOOL)isTracing; -/** - * @discusstion set weex perfermance tracing state , you should use in debug environment - * @param isTracing YES weex will be traced, NO weex will not be traced . - */ -+(void)switchTracing:(BOOL)isTracing; -/** - * @discusstion weex perfermance tracing state - * @param iid the instance id. - * @param ref the component ref - * @param className the module or component class name - * @param name the module or component name - * @param phase the trace phase - * @param functionName function name - * @param options the optional refer:support ts,duration,parentRef - */ -+(void)startTracingWithInstanceId:(NSString *)iid ref:(NSString*)ref className:(NSString *)className name:(NSString *)name phase:(NSString *)phase functionName:(NSString *)functionName options:(NSDictionary *)options; -/** - * @discusstion fetch tracing data - * @return the tracing data - */ -+(NSMutableDictionary*)getTracingData; - -/** - * @discusstion clear tracing data - */ -+(void)clearTracingData; - -/** - * @discusstion get current time - */ -+(NSTimeInterval)getCurrentTime; - -/** - * @discusstion set bundle type - * @param jsBundleString the bundle source. - * @param iid the instance id. - */ -+(void)setBundleJSType:(NSString *)jsBundleString instanceId:(NSString *)iid; -/** - * @discusstion fetch the weex moudle component handler info - * @return the weex moudle component handler info - */ -+(NSDictionary *)getTacingApi; - -/** - * @discusstion commit tracing info - * @param instanceId the instance id. - */ -+(void )commitTracing:(NSString *)instanceId; - -/** - * @discusstion commit summary info - * @param instanceId the instance id. - */ -+ (void)commitTracingSummaryInfo:(NSDictionary *)info withInstanceId:(NSString *)instanceId; - -/** - * @discusstion destroy Traincg Task by Instance - * @param instanceId the instanceId. - */ -+(void)destroyTraincgTaskWithInstance:(NSString *)instanceId; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXTracingProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXTracingProtocol.h deleted file mode 100644 index 4b7f1400..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXTracingProtocol.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import "WXTracingProtocol.h" -#import "WXTracingManager.h" - -@protocol WXTracingProtocol - -- (void)commitTracingInfo:(WXTracingTask *)task; - -- (void)commitTracingSummaryInfo:(NSDictionary *)info; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXType.h b/ios/UniMPSDK/Headers/weexHeader/WXType.h deleted file mode 100644 index 2ef5c84a..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXType.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import - -typedef NS_ENUM(NSUInteger, WXLayoutDirection) { - WXLayoutDirectionLTR, - WXLayoutDirectionRTL, - WXLayoutDirectionAuto, -}; - -typedef NS_ENUM(NSUInteger, WXComponentType) { - WXComponentTypeCommon = 0, - WXComponentTypeVirtual -}; - -typedef NS_ENUM(NSUInteger, WXScrollDirection) { - WXScrollDirectionVertical, - WXScrollDirectionHorizontal, - WXScrollDirectionNone, -}; - -typedef NS_ENUM(NSUInteger, WXTextStyle) { - WXTextStyleNormal = 0, - WXTextStyleItalic -}; - -typedef NS_ENUM(NSInteger, WXTextDecoration) { - WXTextDecorationNone = 0, - WXTextDecorationUnderline, - WXTextDecorationLineThrough -}; - -typedef NS_ENUM(NSInteger, WXImageQuality) { - WXImageQualityOriginal = -1, - WXImageQualityLow = 0, - WXImageQualityNormal, - WXImageQualityHigh, - WXImageQualityNone, -}; - -typedef NS_ENUM(NSInteger, WXImageSharp) { - WXImageSharpeningNone = 0, - WXImageSharpening -}; - -typedef NS_ENUM(NSInteger, WXVisibility) { - WXVisibilityShow = 0, - WXVisibilityHidden -}; - -typedef NS_ENUM(NSInteger, WXBorderStyle) { - WXBorderStyleNone = 0, - WXBorderStyleDotted, - WXBorderStyleDashed, - WXBorderStyleSolid -}; - -typedef NS_ENUM(NSInteger, WXPositionType) { - WXPositionTypeRelative = 0, - WXPositionTypeAbsolute, - WXPositionTypeSticky, - WXPositionTypeFixed -}; - -typedef NS_ENUM(NSInteger, WXGradientType) { - WXGradientTypeToTop = 0, - WXGradientTypeToBottom, - WXGradientTypeToLeft, - WXGradientTypeToRight, - WXGradientTypeToTopleft, - WXGradientTypeToBottomright, -}; diff --git a/ios/UniMPSDK/Headers/weexHeader/WXURLRewriteProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXURLRewriteProtocol.h deleted file mode 100644 index b17dbd75..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXURLRewriteProtocol.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXResourceRequest.h" - -@class WXSDKInstance; - -#define WX_REWRITE_URL(url, resourceType, instance)\ -do {\ - id rewriteHandler = [WXSDKEngine handlerForProtocol:@protocol(WXURLRewriteProtocol)];\ - if ([rewriteHandler respondsToSelector:@selector(rewriteURL:withResourceType:withInstance:)]) {\ - newURL = [[rewriteHandler rewriteURL:url withResourceType:resourceType withInstance:instance].absoluteString copy];\ - }\ -} while(0); - - -@protocol WXURLRewriteProtocol - -/** - * @abstract rewrite and complete URL - * - * @param url The original URL to be rewritten - * - * @param resourceType resource type which the url is sent for - * - * @param instance related instance - * - * @return a new url - */ -- (NSURL *)rewriteURL:(NSString *)url withResourceType:(WXResourceType)resourceType withInstance:(WXSDKInstance *)instance; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXUtility.h b/ios/UniMPSDK/Headers/weexHeader/WXUtility.h deleted file mode 100644 index b16a6bb8..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXUtility.h +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import -#import "WXDefine.h" -#import "WXType.h" -#import "WXSDKInstance.h" - -// The default screen width which helps us to calculate the real size or scale in different devices. -static const CGFloat WXDefaultScreenWidth = 750.0; - -#define WX_ENUMBER_CASE(_invoke, idx, code, obj, _type, op, _flist) \ -case code:{\ - _type *_tmp = malloc(sizeof(_type));\ - memset(_tmp, 0, sizeof(_type));\ - *_tmp = [obj op];\ - [_invoke setArgument:_tmp atIndex:(idx) + 2];\ - *(_flist + idx) = _tmp;\ - break;\ -} -#define WX_EPCHAR_CASE(_invoke, idx, code, obj, _type, op, _flist) \ -case code:{\ - _type *_tmp = (_type *)[obj op];\ - [_invoke setArgument:&_tmp atIndex:(idx) + 2];\ - *(_flist + idx) = 0;\ - break;\ -}\ - -#define WX_ALLOC_FLIST(_ppFree, _count) \ -do {\ - _ppFree = (void *)malloc(sizeof(void *) * (_count));\ - memset(_ppFree, 0, sizeof(void *) * (_count));\ -} while(0) - -#define WX_FREE_FLIST(_ppFree, _count) \ -do {\ - for(int i = 0; i < _count; i++){\ - if(*(_ppFree + i ) != 0) {\ - free(*(_ppFree + i));\ - }\ - }\ - free(_ppFree);\ -}while(0) - -#define WX_ARGUMENTS_SET(_invocation, _sig, idx, _obj, _ppFree) \ -do {\ - const char *encode = [_sig getArgumentTypeAtIndex:(idx) + 2];\ - switch(encode[0]){\ - WX_EPCHAR_CASE(_invocation, idx, _C_CHARPTR, _obj, char *, UTF8String, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_INT, _obj, int, intValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_SHT, _obj, short, shortValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_LNG, _obj, long, longValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_LNG_LNG, _obj, long long, longLongValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_UCHR, _obj, unsigned char, unsignedCharValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_UINT, _obj, unsigned int, unsignedIntValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_USHT, _obj, unsigned short, unsignedShortValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_ULNG, _obj, unsigned long, unsignedLongValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_ULNG_LNG, _obj,unsigned long long, unsignedLongLongValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_FLT, _obj, float, floatValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_DBL, _obj, double, doubleValue, _ppFree)\ - WX_ENUMBER_CASE(_invocation, idx, _C_BOOL, _obj, bool, boolValue, _ppFree)\ - default: { [_invocation setArgument:&_obj atIndex:(idx) + 2]; *(_ppFree + idx) = 0; break;}\ - }\ -}while(0) - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @abstract execute asynchronous action block on the main thread. - * - */ -void WXPerformBlockOnMainThread( void (^ _Nonnull block)(void)); - -/** - * @abstract execute synchronous action block on the main thread. - * - */ -void WXPerformBlockSyncOnMainThread( void (^ _Nonnull block)(void)); - -/** - * @abstract execute action block on the specific thread. - * - */ -void WXPerformBlockOnThread(void (^ _Nonnull block)(void), NSThread *_Nonnull thread); - -/** - * @abstract swizzling methods. - * - */ -void WXSwizzleInstanceMethod(_Nonnull Class className, _Nonnull SEL original, _Nonnull SEL replaced); - -void WXSwizzleInstanceMethodWithBlock(_Nonnull Class className, _Nonnull SEL original, _Nonnull id block, _Nonnull SEL replaced); - -_Nonnull SEL WXSwizzledSelectorForSelector(_Nonnull SEL selector); - -#ifdef __cplusplus -} -#endif - -@interface WXUtility : NSObject - -+ (void)performBlock:(void (^_Nonnull)(void))block onThread:(NSThread *_Nonnull)thread; - -/** - * @abstract Returns the environment of current application, you can get some necessary properties such as appVersion、sdkVersion、appName etc. - * - * @return A dictionary object which contains these properties. - * - */ -+ (NSDictionary *_Nonnull)getEnvironment; - -+ (NSDictionary *_Nonnull)getDebugEnvironment; - -+ (WXLayoutDirection)getEnvLayoutDirection; - -/** - * @abstract UserAgent Generation - * - * @return A ua string by splicing (deviceName、appVersion、sdkVersion、externalField、screenSize) - * - */ -+ (NSString *_Nonnull)userAgent; - -/** - * @abstract JSON Decode Method - * - * @param json String. - * - * @return A json object by decoding json string. - * - */ -+ (id _Nullable)objectFromJSON:(NSString * _Nonnull)json; - -#define WXDecodeJson(json) [WXUtility objectFromJSON:json] - -/** - * @abstract JSON Encode Method - * - * @param object Object. - * - * @return A json string by encoding json object. - * - */ -+ (NSString * _Nullable)JSONString:(id _Nonnull)object; - -#define WXEncodeJson(obj) [WXUtility JSONString:obj] - -/** - * @abstract Returns a Foundation object from given JSON data. A Foundation object from the JSON data in data, or nil if an error occurs. - * - * @param data A data object containing JSON data. - * @param error If an error occurs, upon return contains an NSError object that describes the problem. - * - * @return A Foundation object from the JSON data in data, or nil if an error occurs. - * - */ -+ (id _Nullable)JSONObject:(NSData * _Nonnull)data error:(NSError * __nullable * __nullable)error; - -#define WXJSONObjectFromData(data) [WXUtility JSONObject:data error:nil] -/** - * @abstract JSON Object Copy Method - * - * @param object Object. - * - * @return A json object by copying. - * - */ -+ (id _Nullable)copyJSONObject:(id _Nonnull)object; - -#define WXCopyJson(obj) [WXUtility copyJSONObject:obj] - -/** - * - * Checks if a String is whitespace, empty ("") or nil - * @code - * [WXUtility isBlankString: nil] = true - * [WXUtility isBlankString: ""] = true - * [WXUtility isBlankString: " "] = true - * [WXUtility isBlankString: "bob"] = false - * [WXUtility isBlankString: " bob "] = false - * @endcode - * @param string the String to check, may be null - * - * @return true if the String is null, empty or whitespace - */ -+ (BOOL)isBlankString:(NSString * _Nullable)string ; - - -/** - check a point is valid or not. A zero point is also valid - - @param point a point value to check - @return true if point.x and point.y are all valid value for a number. - */ -+ (BOOL)isValidPoint:(CGPoint)point; - -/** - * @abstract Returns a standard error object - * - * @param code code. - * - * @param message message. - * - * @return A error object type of NSError. - * - */ -+ (NSError * _Nonnull)errorWithCode:(NSInteger)code message:(NSString * _Nullable)message; - -/** - * @abstract Returns a Font Object by setting some properties such as size、weight、style and fontFamily. - * - * @param size font size - * - * @param textWeight font weight - * - * @param textStyle The type of WXTextStyle (Normal or Italic). - * - * @param fontFamily font family - * - * @param scaleFactor please use instance's scale factor - * - * @return A font object according to the above params. - * - */ -+ (UIFont *_Nonnull)fontWithSize:(CGFloat)size textWeight:(CGFloat)textWeight textStyle:(WXTextStyle)textStyle fontFamily:(NSString *_Nullable)fontFamily scaleFactor:(CGFloat)scaleFactor; - -+ (UIFont *_Nonnull)fontWithSize:(CGFloat)size textWeight:(CGFloat)textWeight textStyle:(WXTextStyle)textStyle fontFamily:(NSString *_Nullable)fontFamily scaleFactor:(CGFloat)scaleFactor useCoreText:(BOOL)useCoreText; - -/** - * @abstract download remote font from specified url - * @param fontURL for remote font - * - */ -+ (void)getIconfont:(NSURL * _Nonnull)fontURL completion:( void(^ _Nullable )(NSURL * _Nonnull url, NSError * _Nullable error)) completionBlock; - -/** - * @abstract Returns the main screen's size when the device is in portrait mode,. - */ -+ (CGSize)portraitScreenSize; - -/** - * @abstract Returns the default pixel scale factor - * @discussion If orientation is equal to landscape, the value is caculated as follows: WXScreenSize().height / WXDefaultScreenWidth, otherwise, WXScreenSize().width / WXDefaultScreenWidth. - */ -+ (CGFloat)defaultPixelScaleFactor; - -#if defined __cplusplus -extern "C" { -#endif -/** - * @abstract Returns the scale of the main screen. - * - */ -CGFloat WXScreenScale(void); - -/** - * @abstract Returns a Round float coordinates to the main screen pixel. - * - */ -CGFloat WXRoundPixelValue(CGFloat value); - -/** - * @abstract Returns a Floor float coordinates to the main screen pixel. - * - */ -CGFloat WXFloorPixelValue(CGFloat value); - -/** - * @abstract Returns a Ceil float coordinates to the main screen pixel. - * - */ -CGFloat WXCeilPixelValue(CGFloat value); - -#if defined __cplusplus -}; -#endif - -/** - * @abstract check whether the file is exist - * - */ - -+ (BOOL)isFileExist:(NSString * _Nonnull)filePath; -/** - * @abstract Returns the document directory path. - * - */ -+ (NSString *_Nonnull)documentDirectory; - -#define WXDocumentPath [WXUtility documentDirectory] - -/** - * @abstract Returns the system cache directory path. - * - */ -+ (NSString *_Nonnull)cacheDirectory; - -#define WXCachePath [WXUtility cacheDirectory] - -/** - * @abstract Returns the system library directory path. - * - */ -+ (NSString *_Nonnull)libraryDirectory; - -#define WXLibraryPath [WXUtility libraryDirectory] - -/** - * @abstract Returns the global cache whose size is 5M. - * - */ -+ (NSCache *_Nonnull)globalCache; - -#define WXGlobalCache [WXUtility globalCache] - -+ (NSURL *_Nonnull)urlByDeletingParameters:(NSURL *_Nonnull)url; - -/** - * @abstract Returns the contents of file. - * - */ -+ (NSString *_Nullable)stringWithContentsOfFile:(NSString *_Nonnull)filePath; - -/** - * @abstract Returns md5 string. - * - */ -+ (NSString *_Nullable)md5:(NSString *_Nullable)string; - -/** - * @abstract Returns Creates a Universally Unique Identifier (UUID) string. - * - */ -+ (NSString *_Nullable)uuidString; - -/** - * @abstract convert date string with formatter yyyy-MM-dd to date. - * - */ -+ (NSDate *_Nullable)dateStringToDate:(NSString *_Nullable)dateString; - -/** - * @abstract convert time string with formatter HH:mm to date. - * - */ -+ (NSDate *_Nullable)timeStringToDate:(NSString *_Nullable)timeString; - -/** - * @abstract convert date to date string with formatter yyyy-MM-dd . - * - */ -+ (NSString *_Nullable)dateToString:(NSDate *_Nullable)date; - -/** - * @abstract convert date to time string with formatter HH:mm . - * - */ -+ (NSString *_Nullable)timeToString:(NSDate *_Nullable)date; - -/** - * @abstract get the repeat substring number of string. - * - */ -+ (NSUInteger)getSubStringNumber:(NSString *_Nullable)string subString:(NSString *_Nullable)subString; - -/** - * @abstract Returns a resized pixel which is calculated according to the WXScreenResizeRadio. - * - */ -CGFloat WXPixelScale(CGFloat value, CGFloat scaleFactor); - -CGFloat WXScreenResizeRadio(void) DEPRECATED_MSG_ATTRIBUTE("Use [WXUtility defaultPixelScaleFactor] instead"); -CGFloat WXPixelResize(CGFloat value) DEPRECATED_MSG_ATTRIBUTE("Use WXPixelScale Instead"); -CGRect WXPixelFrameResize(CGRect value) DEPRECATED_MSG_ATTRIBUTE("Use WXPixelScale Instead"); -CGPoint WXPixelPointResize(CGPoint value) DEPRECATED_MSG_ATTRIBUTE("Use WXPixelScale Instead"); -+ (UIFont * _Nullable )fontWithSize:(CGFloat)size textWeight:(CGFloat)textWeight textStyle:(WXTextStyle)textStyle fontFamily:(NSString * _Nullable)fontFamily DEPRECATED_MSG_ATTRIBUTE("Use +[WXUtility fontWithSize:textWeight:textStyle:fontFamily:scaleFactor:]"); - - -/** - @discusstion construct a gradientLayer from the colors locations, gradientType - @param colors The array of UIColor objects defining the color of each gradient - stop. Defaults to nil - @param locations An optional array of NSNumber objects defining the location of each - gradient stop as a value in the range [0,1]. - @param frame the layer frame - @param gradientType WXGradientType value specify the gradient location - @return gradient layer - */ -+ (CAGradientLayer *_Nullable)gradientLayerFromColors:(NSArray*_Nullable)colors - locations:(NSArray*_Nullable)locations - frame:(CGRect)frame - gradientType:(WXGradientType)gradientType; - -/** - @discusstion parse gradient-color string to a dictionary, then you can get gradientLayer from @see gradientLayerFromColors:colors:locations:frame:locations - @param backgroundImage linear-gradient string like linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5)) - @return dictionary with endColor, startColor and gradientType value - @code - NSDictionary * linearGradient = [self linearGradientWithBackgroundImage:@"linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))"]; - CAGradientLayer * gradientLayer = [self gradientLayerFromColors:@[linearGradient[@"startColor"], linearGradient[@"endColor"]],nil,bounds,[linearGradient[@"gradientType"] integerValue]]; - @endcode - */ -+ (NSDictionary *_Nullable)linearGradientWithBackgroundImage:(NSString *_Nullable)backgroundImage; - -#if defined __cplusplus -extern "C" { -#endif - -/** - * @abstract compare float a and b, if a equal b, return true,or reture false. - * - */ -BOOL WXFloatEqual(CGFloat a, CGFloat b); -/** - * @abstract compare float a and b, user give the compare precision, if a equal b, return true,or reture false. - * - */ -BOOL WXFloatEqualWithPrecision(CGFloat a, CGFloat b ,double precision); -/** - * @abstract compare float a and b, if a less than b, return true,or reture false. - * - */ -BOOL WXFloatLessThan(CGFloat a, CGFloat b); -/** - * @abstract compare float a and b,user give the compare precision, if a less than b,return true,or reture false. - * - */ -BOOL WXFloatLessThanWithPrecision(CGFloat a, CGFloat b,double precision); -/** - * @abstract compare float a and b, if a great than b, return true,or reture false. - * - */ -BOOL WXFloatGreaterThan(CGFloat a, CGFloat b); -/** - * @abstract compare float a and b, user give the compare precision,if a great than b, return true,or reture false. - * - */ -BOOL WXFloatGreaterThanWithPrecision(CGFloat a,CGFloat b,double precision); - -#if defined __cplusplus -}; -#endif - -/** - * @abstract convert returnKeyType to type string . - * - */ -+ (NSString *_Nullable)returnKeyType:(UIReturnKeyType)type; - -/** - * @abstract custorm monitor info - * - */ -+ (void)customMonitorInfo:(WXSDKInstance *_Nullable)instance key:(NSString * _Nonnull)key value:(id _Nonnull)value; - -/** - * @abstract format to base64 dictionary - * - */ -+ (NSDictionary *_Nonnull)dataToBase64Dict:(NSData *_Nullable)data; - -/** - * @abstract format to data - * - */ -+ (NSData *_Nonnull)base64DictToData:(NSDictionary *_Nullable)base64Dict; - -+ (void)setUnregisterFontWhenCollision:(BOOL)value; - -+ (void)setUseJSCApiForCreateInstance:(BOOL)value; - -+ (BOOL)useJSCApiForCreateInstance; - -+ (void)setEnableRTLLayoutDirection:(BOOL)value; - -+ (BOOL)enableRTLLayoutDirection; - -+ (long) getUnixFixTimeMillis; - -+ (NSArray *_Nullable)extractPropertyNamesOfJSValueObject:(JSValue *_Nullable)jsvalue; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXValidateProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WXValidateProtocol.h deleted file mode 100644 index 4284f185..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXValidateProtocol.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXSDKInstance.h" - - -@interface WXValidateResult : NSObject - -@property(nonatomic,assign)BOOL isSuccess; -@property(nonatomic,strong)NSError* error; - -@end - -@interface WXModuleValidateResult : WXValidateResult - -@end - -@interface WXComponentValidateResult :WXValidateResult - -@property(nonatomic,copy)NSString* replacedComponent; - -@end - - -@protocol WXValidateProtocol - --(BOOL)needValidate:(NSURL*) bundleUrl; - --(WXModuleValidateResult *)validateWithWXSDKInstance:(WXSDKInstance *)wxsdkInstance module:(NSString*) moduel method:(NSString *)method args:(NSArray *)args options:(NSDictionary *)options; - --(WXComponentValidateResult *)validateWithWXSDKInstance:(WXSDKInstance *)wxsdkInstance component:(NSString *)componentName supercomponent:(WXComponent *)supercomponent; - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXView.h b/ios/UniMPSDK/Headers/weexHeader/WXView.h deleted file mode 100644 index c7f0afd4..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXView.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import - -@interface WXView : UIView - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXVoiceOverModule.h b/ios/UniMPSDK/Headers/weexHeader/WXVoiceOverModule.h deleted file mode 100644 index 274c310f..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXVoiceOverModule.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXModuleProtocol.h" - -@interface WXVoiceOverModule : NSObject - -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WXWebSocketHandler.h b/ios/UniMPSDK/Headers/weexHeader/WXWebSocketHandler.h deleted file mode 100644 index 5ac21e18..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WXWebSocketHandler.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#import -#import "WXModuleProtocol.h" - -@protocol WXWebSocketDelegate -- (void)didOpen; -- (void)didFailWithError:(NSError *)error; -- (void)didReceiveMessage:(id)message; -- (void)didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean; -@end - -@protocol WXWebSocketHandler - -- (void)open:(NSString *)url protocol:(NSString *)protocol identifier:(NSString *)identifier withDelegate:(id)delegate; -- (void)send:(NSString *)identifier data:(NSString *)data; -- (void)close:(NSString *)identifier; -- (void)close:(NSString *)identifier code:(NSInteger)code reason:(NSString *)reason; -- (void)clear:(NSString *)identifier; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WeexProtocol.h b/ios/UniMPSDK/Headers/weexHeader/WeexProtocol.h deleted file mode 100644 index afb2e41e..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WeexProtocol.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// WeexProtocol.h -// libPDRCore -// -// Created by DCloud on 2018/6/7. -// Copyright © 2018年 DCloud. All rights reserved. -// - -#import - -extern NSString* kWeexImportClassName; -#import "WXSDKInstance.h" -#import "WXSDKManager.h" -#import "WXDefine.h" - -@class WXRootView; - -extern NSString* const kWeexOptionsRenderKey; -extern NSString* const kWeexOptionsFrameworkKey; - -@protocol WeexProtocol -- (void)initWeexWithOptions:(NSDictionary*)options; -- (NSDictionary *)getWeexOptions; -- (void)destoryWeex; -- (id)newWXSDKInstance; -- (NSString*)getweexExposedModuleJs; -- (WXRootView*)weexInstanceRootView:(CGRect)frame; -- (WXBridgeManager*)bridgeMgr; -- (void)restart; -- (void)restartWithOptions:(NSDictionary*)options; -- (void)refreshDefaultFlexDirection; -- (BOOL)weexDebugMode; -- (void)evaljs:(NSString*)js inSDKInstance:(NSString*)instance; -- (void)postWeexMessageWithPayload:(NSDictionary*)payload inWeexInstance:(NSString*)instanceId; -- (id)callNativeModulSyncWithPayload:(NSDictionary*)payload inWeexInstance:(NSString*)instanceId; -@end diff --git a/ios/UniMPSDK/Headers/weexHeader/WeexSDK.h b/ios/UniMPSDK/Headers/weexHeader/WeexSDK.h deleted file mode 100644 index 2be0a39b..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/WeexSDK.h +++ /dev/null @@ -1,85 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one -* or more contributor license agreements. See the NOTICE file -* distributed with this work for additional information -* regarding copyright ownership. The ASF licenses this file -* to you under the Apache License, Version 2.0 (the -* "License"); you may not use this file except in compliance -* with the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, -* software distributed under the License is distributed on an -* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -* KIND, either express or implied. See the License for the -* specific language governing permissions and limitations -* under the License. - */ - -#ifdef __OBJC__ - -#import "style.h" -#import "layout.h" -#import "flex_enum.h" -#import "WXWebSocketHandler.h" -#import "WXVoiceOverModule.h" -#import "WXView.h" -#import "WXValidateProtocol.h" -#import "WXUtility.h" -#import "WXURLRewriteProtocol.h" -#import "WXType.h" -#import "WXTracingProtocol.h" -#import "WXTracingManager.h" -#import "WXScrollerProtocol.h" -#import "WXScrollerComponent.h" -#import "WXSDKManager.h" -#import "WXSDKInstance.h" -#import "WXSDKError.h" -#import "WXSDKEngine.h" -#import "WXRootViewController.h" -#import "WXRichText.h" -#import "WXResourceResponse.h" -#import "WXResourceRequestHandler.h" -#import "WXResourceRequest.h" -#import "WXResourceLoader.h" -#import "WXRecyclerComponent.h" -#import "WXPrerenderManager.h" -#import "WXPageEventNotifyEvent.h" -#import "WXNetworkProtocol.h" -#import "WXNavigationProtocol.h" -#import "WXMonitor.h" -#import "WXModuleProtocol.h" -#import "WXModalUIModule.h" -#import "WXListComponent.h" -#import "WXJSFrameworkLoadProtocol.h" -#import "WXJSExceptionProtocol.h" -#import "WXJSExceptionInfo.h" -#import "WXIndicatorComponent.h" -#import "WXImgLoaderProtocol.h" -#import "WXExtendCallNativeProtocol.h" -#import "WXExceptionUtils.h" -#import "WXEventModuleProtocol.h" -#import "WXErrorView.h" -#import "WXDisplayLinkManager.h" -#import "WXDefine.h" -#import "WXDebugTool.h" -#import "WXConvert.h" -#import "WXConfigCenterProtocol.h" -#import "WXComponentManager.h" -#import "WXComponent.h" -#import "WXComponent+Layout.h" -#import "WXBridgeProtocol.h" -#import "WXBridgeManager.h" -#import "WXBaseViewController.h" -#import "WXAppMonitorProtocol.h" -#import "WXAppConfiguration.h" -#import "WXApmProtocol.h" -#import "WXApmForInstance.h" -#import "WXAnalyzerProtocol.h" -#import "WXAnalyzerCenter.h" -#import "WXAComponent.h" -#import "NSObject+WXSwizzle.h" -#import "JSContext+Weex.h" - -#endif /* __OBJC__ */ diff --git a/ios/UniMPSDK/Headers/weexHeader/flex_enum.h b/ios/UniMPSDK/Headers/weexHeader/flex_enum.h deleted file mode 100644 index 7013f98f..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/flex_enum.h +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#ifndef WEEXCORE_FLEXLAYOUT_WXCOREFLEXENUM_H -#define WEEXCORE_FLEXLAYOUT_WXCOREFLEXENUM_H - -#define WEEXCORE_CSS_DEFAULT_DIRECTION kDirectionLTR - -/* These enum definitions may also be used by C files. */ -#ifdef __cplusplus -namespace WeexCore { -#endif - - /** - * MainAxis direction - */ - enum WXCoreDirection { - kDirectionInherit, - kDirectionLTR, - kDirectionRTL - }; - /** - * MainAxis direction - */ - enum WXCoreFlexDirection { - kFlexDirectionColumn, - kFlexDirectionColumnReverse, - kFlexDirectionRow, - kFlexDirectionRowReverse, - }; - - /** - * Controls the position of the element on the MainAxis - */ - enum WXCoreJustifyContent { - kJustifyFlexStart, - kJustifyCenter, - kJustifyFlexEnd, - kJustifySpaceBetween, - kJustifySpaceAround, - }; - - /** - * Controls the position of the element on the CrossAxis and whether Stretch - */ - enum WXCoreAlignItems { - kAlignItemsFlexStart, - kAlignItemsCenter, - kAlignItemsFlexEnd, - kAlignItemsStretch, - }; - - /** - * Controls the count of flexlines - */ - enum WXCoreFlexWrap { - kNoWrap, - kWrap, - kWrapReverse, - }; - - /** - * The align-self will overrides the align-items specified by the Flex container. - * The two attributes have the same range of values. - */ - enum WXCoreAlignSelf { - kAlignSelfAuto = -1, - kAlignSelfFlexStart = kAlignItemsFlexStart, - kAlignSelfCenter = kAlignItemsCenter, - kAlignSelfFlexEnd = kAlignItemsFlexEnd, - kAlignSelfStretch = kAlignItemsStretch, - }; - - enum WXCorePositionType { - kRelative, - kAbsolute, - kFixed, - kSticky = kRelative - }; - - enum WXCorePositionEdge { - kPositionEdgeTop, - kPositionEdgeBottom, - kPositionEdgeLeft, - kPositionEdgeRight, - }; - - enum WXCoreMarginEdge { - kMarginALL, - kMarginTop, - kMarginBottom, - kMarginLeft, - kMarginRight, - }; - - enum WXCorePaddingEdge { - kPaddingALL, - kPaddingTop, - kPaddingBottom, - kPaddingLeft, - kPaddingRight, - }; - - enum WXCoreBorderWidthEdge { - kBorderWidthALL, - kBorderWidthTop, - kBorderWidthBottom, - kBorderWidthLeft, - kBorderWidthRight, - }; - - enum WXCoreEdge{ - kTop, - kRight, - kBottom, - kLeft, - }; - -#ifdef __cplusplus -} -#endif - -#endif //WEEXCORE_FLEXLAYOUT_WXCOREFLEXENUM_H diff --git a/ios/UniMPSDK/Headers/weexHeader/layout.h b/ios/UniMPSDK/Headers/weexHeader/layout.h deleted file mode 100644 index 32010ce5..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/layout.h +++ /dev/null @@ -1,1212 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -#ifdef __cplusplus - -#ifndef WEEXCORE_FLEXLAYOUT_WXCORELAYOUTNODE_H -#define WEEXCORE_FLEXLAYOUT_WXCORELAYOUTNODE_H - -#include -#include -#include -#include -#include -#include -#include "style.h" -#include "flex_enum.h" - -namespace WeexCore { - - class WXCoreLayoutNode; - - class WXCoreFlexLine; - - enum FormattingContext { - kBFC, - kNonBFC, - } ; - - enum MeasureMode { - kUnspecified = 0, - kExactly, - } ; - - struct WXCoreSize { - private: - float hypotheticalWidth; - float hypotheticalHeight; - public: - friend class WXCoreLayoutNode; - float width; - float height; - - WXCoreSize() : hypotheticalWidth(NAN), - hypotheticalHeight(NAN), - width(0), height(0) {} - - inline void reset() { - hypotheticalWidth = NAN ; - hypotheticalHeight = NAN; - width = 0; - height = 0; - } - - inline bool isNAN() { - return isnan(width) || isnan(height); - } - }; - - /** - * layout-result:layout-height、layout-width、position(left、right、top、bottom)、direction - */ - struct WXCorelayoutResult { - WXCoreDirection mLayoutDirection; - WXCoreSize mLayoutSize; - WXCorePosition mLayoutPosition; - - inline bool isNAN() { - return mLayoutSize.isNAN() || mLayoutPosition.isNAN(); - } - - inline void reset() { - mLayoutSize.reset(); - mLayoutPosition.reset(); - mLayoutDirection = kDirectionInherit; - } - }; - - typedef WXCoreSize(*WXCoreMeasureFunc)(WXCoreLayoutNode *node, float width, - MeasureMode widthMeasureMode, - float height, MeasureMode heightMeasureMode); - - using Index = std::vector::size_type; - - /** - * flie line - */ - class WXCoreFlexLine { - public: - float mMainSize; - - float mCrossSize; - - Index mItemCount; - - float mTotalFlexGrow; - - float mTotalFlexibleSize; - - /** - * Store the indices of the children views whose mAlignSelf property is stretch. - * The stored indices are the absolute indices including all children in the Flexbox, - * not the relative indices in this flex line. - */ - std::vector mIndicesAlignSelfStretch; - - WXCoreFlexLine() : mMainSize(0), - mCrossSize(0), - mItemCount(0), - mTotalFlexGrow(0), - mTotalFlexibleSize(0) { - } - - ~WXCoreFlexLine() { - mMainSize = 0; - mCrossSize = 0; - mItemCount = 0; - mTotalFlexGrow = 0; - mTotalFlexibleSize = 0; - mIndicesAlignSelfStretch.clear(); - } - }; - - /** - * Layout node - */ - class WXCoreLayoutNode { - - public: - WXCoreLayoutNode() : - mParent(nullptr), - dirty(true), - widthDirty{false}, - heightDirty{false}, - mHasNewLayout(true), - mIsDestroy(false), - measureFunc(nullptr) { - mCssStyle = new WXCoreCSSStyle(); - mLayoutResult = new WXCorelayoutResult(); - } - - virtual ~WXCoreLayoutNode() { - mIsDestroy = true; - mHasNewLayout = true; - dirty = true; - measureFunc = nullptr; - mParent = nullptr; - mChildList.clear(); - BFCs.clear(); - NonBFCs.clear(); - mChildrenFrozen.clear(); - - for (WXCoreFlexLine *flexLine : mFlexLines) { - if (flexLine != nullptr) { - delete flexLine; - flexLine = nullptr; - } - } - mFlexLines.clear(); - - if (mCssStyle != nullptr) { - delete mCssStyle; - mCssStyle = nullptr; - } - - if (mLayoutResult != nullptr) { - delete mLayoutResult; - mLayoutResult = nullptr; - } - } - - private: - - /** - * Holds the 'frozen' state of children during measure. If a view is frozen it will no longer - * expand regardless of mFlexGrow. Items are indexed by the child's - * reordered index. - */ - std::vector mChildrenFrozen; - - std::vector mFlexLines; - - std::vector mChildList; - - std::vector BFCs; - - std::vector NonBFCs; - - WXCoreLayoutNode *mParent = nullptr; - - WXCoreCSSStyle *mCssStyle = nullptr; - - MeasureMode widthMeasureMode = kUnspecified; - - MeasureMode heightMeasureMode = kUnspecified; - - WXCorelayoutResult *mLayoutResult = nullptr; - - WXCorePosition *absoultePositon = nullptr; - - bool mHasNewLayout; - - bool dirty, widthDirty, heightDirty; - - bool mIsDestroy = true; - - bool mNeedsPlatformDependentLayout = false; - - WXCoreMeasureFunc measureFunc = nullptr; - - void *context = nullptr; - - /** ================================ Cache:Last calculate result =================================== **/ - - public: - - - /** ================================ Engine Entry Function =================================== **/ - - void calculateLayout(const std::pair&); - - /** ================================ measureFunc =================================== **/ - - inline void setMeasureFunc(WXCoreMeasureFunc measure) { - measureFunc = measure; - markDirty(); - } - - inline bool haveMeasureFunc() const { - return nullptr != measureFunc; - } - - inline WXCoreMeasureFunc getMeasureFunc() const { - return measureFunc; - } - - /** ================================ context =================================== **/ - - - inline void *getContext() const { - return context; - } - - inline void setContext(void * const context) { - this->context = context; - } - - inline void copyStyle(WXCoreLayoutNode *srcNode) { - if (srcNode != nullptr && memcmp(mCssStyle, srcNode->mCssStyle, sizeof(WXCoreCSSStyle)) != 0) { - memcpy(mCssStyle, srcNode->mCssStyle, sizeof(WXCoreCSSStyle)); - markDirty(); - } - } - - void copyFrom(WXCoreLayoutNode* srcNode){ - if (srcNode == nullptr) return; - - memcpy(mCssStyle, srcNode->mCssStyle, sizeof(WXCoreCSSStyle)); - } - - inline void copyMeasureFunc(WXCoreLayoutNode *srcNode) { - if (srcNode != nullptr && memcmp(&measureFunc, &srcNode->measureFunc, sizeof(WXCoreMeasureFunc)) != 0) { - memcpy(&measureFunc, &srcNode->measureFunc, sizeof(WXCoreMeasureFunc)); - markDirty(); - } - } - - /** ================================ custom =================================== **/ - inline bool getNeedsPlatformDependentLayout() const { - return mNeedsPlatformDependentLayout; - } - - inline void setNeedsPlatformDependentLayout(bool v) { - this->mNeedsPlatformDependentLayout = v; - } - - private: - - /** ================================ measure =================================== **/ - - inline void reset() { - if (isDirty()) { - mLayoutResult->reset(); - for (WXCoreFlexLine *flexLine : mFlexLines) { - if (flexLine != nullptr) { - delete flexLine; - flexLine = nullptr; - } - } - mFlexLines.clear(); - - mChildrenFrozen.assign(getChildCount(kNonBFC), false); - } - widthMeasureMode = isnan(mCssStyle->mStyleWidth) ? kUnspecified : kExactly; - heightMeasureMode = isnan(mCssStyle->mStyleHeight) ? kUnspecified : kExactly; - } - - inline void setLayoutWidth(const float width) { - if (mLayoutResult->mLayoutSize.width != width && - (!isnan(width) || !isnan(mLayoutResult->mLayoutSize.width))) { - mLayoutResult->mLayoutSize.width = width; - widthDirty = true; - markDirty(false); - } - } - - inline void setLayoutHeight(const float height) { - if (mLayoutResult->mLayoutSize.height != height && - (!isnan(height) || !isnan(mLayoutResult->mLayoutSize.height))) { - mLayoutResult->mLayoutSize.height = height; - heightDirty = true; - markDirty(false); - } - } - - inline void setWidthMeasureMode(const MeasureMode measureMode) { - if (widthMeasureMode != measureMode) { - widthMeasureMode = measureMode; - if (getChildCount(kNonBFC) > 0) { - widthDirty = true; - } - } - } - - inline void setHeightMeasureMode(const MeasureMode measureMode) { - if (heightMeasureMode != measureMode) { - heightMeasureMode = measureMode; - if (getChildCount(kNonBFC) > 0) { - heightDirty = true; - } - } - } - - inline float firstLineCrossSize() const { - float sum = sumPaddingBorderAlongAxis(this, !isMainAxisHorizontal(this)); - if (!mFlexLines.empty()) { - sum += mFlexLines[0]->mCrossSize; - } - return sum; - } - - inline float getSumOfCrossSize() const { - float sum = sumPaddingBorderAlongAxis(this, !isMainAxisHorizontal(this)); - for (WXCoreFlexLine *flexLine: mFlexLines) { - sum += flexLine->mCrossSize; - } - return sum; - } - - inline bool isMainAxisHorizontal(const WXCoreLayoutNode* const node) const { - return node->mCssStyle->mFlexDirection == kFlexDirectionRow || - node->mCssStyle->mFlexDirection == kFlexDirectionRowReverse; - } - - inline bool isCrossExactly() const { - return isMainAxisHorizontal(this) ? heightMeasureMode == kExactly - : widthMeasureMode == kExactly; - } - - inline float sumPaddingBorderAlongAxis(const WXCoreLayoutNode* const node, bool horizontal) const { - float paddingBorderAlongAxis; - if (horizontal) { - paddingBorderAlongAxis = - node->mCssStyle->mPadding.getPadding(kPaddingLeft) + - node->mCssStyle->mPadding.getPadding(kPaddingRight) + - node->mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthLeft) + - node->mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthRight); - } else { - paddingBorderAlongAxis = - node->mCssStyle->mPadding.getPadding(kPaddingTop) + - node->mCssStyle->mPadding.getPadding(kPaddingBottom) + - node->mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthTop) + - node->mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthBottom); - } - return paddingBorderAlongAxis; - } - - inline bool isWrapRequired(const float &width, const float &height, - const float ¤tLength, const float &childLength) const { - float freeMainSize = CalculateFreeSpaceAlongMainAxis(width, height, currentLength); - return !isSingleFlexLine(freeMainSize) && freeMainSize < childLength; - } - - //If width/height is NAN, ret is NAN, which property we use on purpose. - virtual float CalculateFreeSpaceAlongMainAxis(const float &width, const float &height, - const float ¤tLength) const{ - float ret; - if(isMainAxisHorizontal(this)){ - ret = width - sumPaddingBorderAlongAxis(this, true) - currentLength; - } - else{ - ret = height - sumPaddingBorderAlongAxis(this, false) - currentLength; - } - return ret; - } - - inline bool isSingleFlexLine(const float &mainSize) const { - return mCssStyle->mFlexWrap == kNoWrap || isnan(mainSize); - } - - inline void sumFlexGrow(const WXCoreLayoutNode* const child, WXCoreFlexLine* const flexLine, Index i){ - if (child->mCssStyle->mFlexGrow > 0) { - flexLine->mTotalFlexGrow += child->mCssStyle->mFlexGrow; - mChildrenFrozen[i] = false; - if (isMainAxisHorizontal(this)) { - if (!isnan(child->mLayoutResult->mLayoutSize.hypotheticalWidth)) { - flexLine->mTotalFlexibleSize += child->mLayoutResult->mLayoutSize.hypotheticalWidth; - } - } else { - if (!isnan(child->mLayoutResult->mLayoutSize.hypotheticalHeight)) { - flexLine->mTotalFlexibleSize += child->mLayoutResult->mLayoutSize.hypotheticalHeight; - } - } - } else { - mChildrenFrozen[i] = true; - } - } - - inline void setMeasuredDimensionForFlex( - const float width, const MeasureMode widthMeasureMode, - const float height, const MeasureMode heightMeasureMode){ - float actualWidth, actualHeight; - if (isMainAxisHorizontal(this)) { - actualWidth = widthMeasureMode == kExactly ? width : getLargestMainSize(); - actualHeight = heightMeasureMode == kExactly ? height : getSumOfCrossSize(); - } else { - actualHeight = heightMeasureMode == kExactly ? height : getLargestMainSize(); - actualWidth = widthMeasureMode == kExactly ? width : firstLineCrossSize(); - } - setMeasuredDimension(actualWidth, actualHeight); - } - - inline float calcItemSizeAlongAxis(const WXCoreLayoutNode* const node, const bool horizontal, const bool useHypotheticalSize = false) const { - float ret; - if (horizontal) { - ret = node->mCssStyle->mMargin.getMargin(kMarginLeft) + - node->mCssStyle->mMargin.getMargin(kMarginRight); - ret += useHypotheticalSize ? node->mLayoutResult->mLayoutSize.hypotheticalWidth - : node->mLayoutResult->mLayoutSize.width; - } else { - ret = node->mCssStyle->mMargin.getMargin(kMarginTop) + - node->mCssStyle->mMargin.getMargin(kMarginBottom); - ret += useHypotheticalSize ? node->mLayoutResult->mLayoutSize.hypotheticalHeight - : node->mLayoutResult->mLayoutSize.height; - } - return ret; - } - - inline void limitMainSizeForFlexGrow(WXCoreFlexLine* const flexLine, const Index childIndex, - const float flexGrow) { - mChildrenFrozen[childIndex] = true; - flexLine->mTotalFlexGrow -= flexGrow; - } - - inline void setMeasuredDimension(const float width, const float height) { - mLayoutResult->mLayoutSize.width = width; - mLayoutResult->mLayoutSize.height = height; - } - - inline std::pair limitChildMainSize(WXCoreFlexLine* const flexLine, const WXCoreLayoutNode* const child, - float childSizeAlongMainAxis, const Index childIndex){ - bool needsReexpand = false; - if (isMainAxisHorizontal(this)) { - if (!isnan(child->mCssStyle->mMaxWidth) && - childSizeAlongMainAxis > child->mCssStyle->mMaxWidth) { - needsReexpand = true; - childSizeAlongMainAxis = child->mCssStyle->mMaxWidth; - } else if (!isnan(child->mCssStyle->mMinWidth) && - childSizeAlongMainAxis < child->mCssStyle->mMinWidth) { - needsReexpand = true; - childSizeAlongMainAxis = child->mCssStyle->mMinWidth; - } - } else { - if (!isnan(child->mCssStyle->mMaxHeight) && - childSizeAlongMainAxis > child->mCssStyle->mMaxHeight) { - needsReexpand = true; - childSizeAlongMainAxis = child->mCssStyle->mMaxHeight; - } else if (!isnan(child->mCssStyle->mMinHeight) && - childSizeAlongMainAxis < child->mCssStyle->mMinHeight) { - needsReexpand = true; - childSizeAlongMainAxis = child->mCssStyle->mMinHeight; - } - } - limitMainSizeForFlexGrow(flexLine, childIndex, child->mCssStyle->mFlexGrow); - return std::make_pair(needsReexpand, childSizeAlongMainAxis); - } - - void updateLeftRightForAbsolute(float &left, float &right, - const WXCorePadding &parentPadding, - const WXCoreBorderWidth &parentBorder, - const WXCoreSize &parentSize) const { - if (isnan(mCssStyle->mStylePosition.getPosition(kPositionEdgeLeft))) { - if (isnan(mCssStyle->mStylePosition.getPosition(kPositionEdgeRight))) { - ; - } else { - right += parentSize.width - - (parentBorder.getBorderWidth(kBorderWidthRight) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeRight) - + mLayoutResult->mLayoutSize.width); - left += parentSize.width - - (parentBorder.getBorderWidth(kBorderWidthRight) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeRight) - + mLayoutResult->mLayoutSize.width); - } - } else { - left += parentBorder.getBorderWidth(kBorderWidthLeft) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeLeft); - right += parentBorder.getBorderWidth(kBorderWidthLeft) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeLeft); - } - } - - void updateTopBottomForAbsolute(float &top, float &bottom, - const WXCorePadding &parentPadding, - const WXCoreBorderWidth &parentBorder, - const WXCoreSize &parentSize) const { - if (isnan(mCssStyle->mStylePosition.getPosition(kPositionEdgeTop))) { - if (isnan(mCssStyle->mStylePosition.getPosition(kPositionEdgeBottom))) { - ; - } else { - top += parentSize.height - - (parentBorder.getBorderWidth(kBorderWidthBottom) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeBottom) - + mLayoutResult->mLayoutSize.height); - bottom += parentSize.height - - (parentBorder.getBorderWidth(kBorderWidthBottom) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeBottom) - + mLayoutResult->mLayoutSize.height); - } - } else { - top += parentBorder.getBorderWidth(kBorderWidthTop) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeTop); - bottom += parentBorder.getBorderWidth(kBorderWidthTop) + - mCssStyle->mStylePosition.getPosition(kPositionEdgeTop); - } - } - - /** ================================ other =================================== **/ - - inline void clearDirty() { - dirty = false; - widthDirty = false; - heightDirty = false; - } - - void - measure(float, float, bool); - - void hypotheticalMeasure(float, float, bool = false); - - void measureLeafNode(float, float, bool, bool); - - void measureInternalNode(float, float, bool, bool); - - void updateCurrentFlexline(Index, WXCoreFlexLine *, Index, const WXCoreLayoutNode *, bool); - - void measureChild(WXCoreLayoutNode* , float, float, float, bool, bool); - - void adjustChildSize(WXCoreLayoutNode *, float); - - void adjustChildSize(const WXCoreLayoutNode *child, - const float currentMainSize, - const float parentWidth, - const float parentHeight, - float &childWidth, - float &childHeight) const; - - void stretchViewCrossSize(); - - void stretchViewCrossSize(WXCoreLayoutNode *, float); - - Index expandItemsInFlexLine(WXCoreFlexLine *, float, Index); - - void checkSizeConstraints(WXCoreLayoutNode *, bool); - - void - determineMainSize(float width, float height); - - void - determineCrossSize(float, float, bool); - - void - determineCrossSize(float, float, WXCoreFlexLine *); - - void setFrame(float, float, float, float); - - void setFrame(WXCorePosition*,float, float, float, float); - - /** ================================ layout =================================== **/ - - void layout(float left, float top, float right, float bottom, bool, const std::pair* = nullptr); - - void calcRelativeOffset(float &left, float &top, float &right, float &bottom) const ; - - void calcAbsoluteOffset(float &left, float &top, float &right, float &bottom, const std::pair* = nullptr); - - void positionAbsoluteFlexItem(float &left, float &top, float &right, float &bottom); - - void layoutHorizontal(bool isRtl, float left, float top, float right, float bottom, - WXCoreLayoutNode*, WXCoreFlexLine *const flexLine); - - void layoutFlexlineHorizontal(const float width, - const WXCoreFlexLine *const flexLine, - float &childLeft, - float &childRight, - float &spaceBetweenItem) const; - - void layoutSingleChildHorizontal(WXCoreLayoutNode *node, WXCoreFlexLine *flexLine, - WXCoreFlexWrap flexWrap, WXCoreAlignItems alignItems, - float, float, float, float, bool); - - void layoutSingleChildHorizontal(const bool isRtl, - const bool, - float childBottom, float childTop, - WXCoreFlexLine *const flexLine, - WXCoreLayoutNode *const child, - float&, float&); - - void layoutVertical(bool isRtl, bool fromBottomToTop, float left, float top, float right, float bottom, - WXCoreLayoutNode*, WXCoreFlexLine *const flexLine); - - void layoutFlexlineVertical(const float height, - const WXCoreFlexLine *const flexLine, - float &childTop, - float &childBottom, - float &spaceBetweenItem) const; - void layoutSingleChildVertical(WXCoreLayoutNode *node, WXCoreFlexLine *flexLine, - bool isRtl, WXCoreAlignItems alignItems, - float, float, float, float, bool); - - void layoutSingleChildVertical(const bool isRtl, const bool fromBottomToTop, - const bool absoluteFlexItem, - const float childLeft, const float childRight, - WXCoreFlexLine *const flexLine, - WXCoreLayoutNode *const child, - float& ,float&); - - void updateFlexLineForAbsoluteItem(WXCoreLayoutNode *const absoluteFlexItem, WXCoreFlexLine *const flexLine); - - void initFormatingContext(std::vector &BFCs); - - std::pair calculateBFCWidth(float, float); - - std::pair calculateBFCHeight(float, float); - - std::tuple calculateBFCDimension(const std::pair&); - - virtual void OnLayoutBefore() { - - } - - virtual void OnLayoutAfter(float width, float height) { - - } - - - public: - virtual void onLayout(float left, float top, float right, float bottom, WXCoreLayoutNode* = nullptr, WXCoreFlexLine *const flexLine = nullptr); - /** ================================ tree =================================== **/ - - inline Index getChildCount(FormattingContext formattingContext) const { - switch (formattingContext) { - case kNonBFC: - return NonBFCs.size(); - case kBFC: - return BFCs.size(); - default: - return mChildList.size(); - } - } - - inline Index getChildCount() const { - return mChildList.size(); - } - - inline std::vector::const_iterator ChildListIterBegin() { - return mChildList.cbegin(); - } - - inline std::vector::const_iterator ChildListIterEnd() { - return mChildList.cend(); - } - - inline bool hasChild(const WXCoreLayoutNode* const child){ - if(std::find(mChildList.begin(), mChildList.end(), child) != mChildList.end()){ - return true; - }else{ - return false; - } - } - - inline void removeChild(const WXCoreLayoutNode* const child) { - for (int index = 0; index < mChildList.size(); index++) { - if (child == mChildList[index]) { - mChildList.erase(mChildList.begin() + index); - break; - } - } - markDirty(); - } - - inline void addChildAt(WXCoreLayoutNode* const child, Index index) { - mChildList.insert(mChildList.begin() + index, child); - child->mParent = this; - markDirty(); - } - - inline WXCoreLayoutNode *getChildAt(const FormattingContext formattingContext, const Index index) const { - switch (formattingContext) { - case kNonBFC: - return NonBFCs[index]; - case kBFC: - return BFCs[index]; - default: - return mChildList[index]; - } - } - - inline WXCoreLayoutNode *getChildAt(const Index index) const { - return mChildList[index]; - } - - inline WXCoreLayoutNode *getParent() const { - return mParent; - } - - inline void setParent(WXCoreLayoutNode * const parent, WXCoreLayoutNode * const child) const { - child->mParent = parent; - } - - inline bool isBFC(WXCoreLayoutNode* const node) const { - return node->mCssStyle->mPositionType == kAbsolute || node->mCssStyle->mPositionType == kFixed; - } - - /** ================================ margin =================================== **/ - - inline float getMarginTop() const { - return mCssStyle->mMargin.getMargin(kMarginTop); - } - - inline float getMarginBottom() const { - return mCssStyle->mMargin.getMargin(kMarginBottom); - } - - inline float getMarginLeft() const { - return mCssStyle->mMargin.getMargin(kMarginLeft); - } - - inline float getMarginRight() const { - return mCssStyle->mMargin.getMargin(kMarginRight); - } - - inline void setMargin(const WXCoreMarginEdge &edge, const float margin) { - if (mCssStyle->mMargin.setMargin(edge, margin)) { - markDirty(); - } - } - - inline const WXCoreMargin &GetMargins() const { - return mCssStyle->mMargin; - } - - /** ================================ padding =================================== **/ - - inline float getPaddingLeft() const { - return mCssStyle->mPadding.getPadding(kPaddingLeft); - } - - inline float getPaddingRight() const { - return mCssStyle->mPadding.getPadding(kPaddingRight); - } - - inline float getPaddingTop() const { - return mCssStyle->mPadding.getPadding(kPaddingTop); - } - - inline float getPaddingBottom() const { - return mCssStyle->mPadding.getPadding(kPaddingBottom); - } - - inline void setPadding(const WXCorePaddingEdge edge, const float padding) { - if (mCssStyle->mPadding.setPadding(edge, padding)) { - markDirty(); - } - } - - inline const WXCorePadding &GetPaddings() const { - return mCssStyle->mPadding; - } - - /** ================================ border-width =================================== **/ - - inline float getBorderWidthLeft() const { - return mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthLeft); - } - - inline float getBorderWidthRight() const { - return mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthRight); - } - - inline float getBorderWidthTop() const { - return mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthTop); - } - - inline float getBorderWidthBottom() const { - return mCssStyle->mBorderWidth.getBorderWidth(kBorderWidthBottom); - } - - inline void setBorderWidth(const WXCoreBorderWidthEdge edge, const float borderWidth) { - if (mCssStyle->mBorderWidth.setBorderWidth(edge, borderWidth)) { - markDirty(); - } - } - - inline const WXCoreBorderWidth &GetBorders() const { - return mCssStyle->mBorderWidth; - } - - /** ================================ position-type =================================== **/ - - inline void setStylePositionType(const WXCorePositionType positionType) { - if (mCssStyle->mPositionType != positionType) { - mCssStyle->mPositionType = positionType; - markDirty(); - } - } - - inline WXCorePositionType getStylePositionType() const { - return mCssStyle->mPositionType; - } - - - /** ================================ position =================================== **/ - - inline float getStylePositionTop() const { - return mCssStyle->mStylePosition.getPosition(kPositionEdgeTop); - } - - inline float getStylePositionBottom() const { - return mCssStyle->mStylePosition.getPosition(kPositionEdgeBottom); - } - - inline float getStylePositionLeft() const { - return mCssStyle->mStylePosition.getPosition(kPositionEdgeLeft); - } - - inline float getStylePositionRight() const { - return mCssStyle->mStylePosition.getPosition(kPositionEdgeRight); - } - - inline void setStylePosition(const WXCorePositionEdge edge, const float positionRight) { - if (mCssStyle->mStylePosition.setPosition(edge, positionRight)) - markDirty(); - } - - - /** ================================ dimension =================================== **/ - - inline void setStyleWidthLevel(const DimensionLevel level) const { - if (mCssStyle->mStyleWidthLevel != level) { - mCssStyle->mStyleWidthLevel = level; - } - } - - inline void setStyleHeightLevel(const DimensionLevel level) const { - if (mCssStyle->mStyleHeightLevel != level) { - mCssStyle->mStyleHeightLevel = level; - } - } - - inline DimensionLevel getStyleHeightLevel() const { - return mCssStyle->mStyleHeightLevel; - } - - inline DimensionLevel getStyleWidthLevel() const { - return mCssStyle->mStyleWidthLevel; - } - - inline void setStyleWidth(const float width, const bool updating) { - if (mCssStyle->mStyleWidth != width) { - mCssStyle->mStyleWidth = width; - markDirty(); - if(updating) { - markChildrenDirty(true); - } - } - } - - inline void setStyleWidthToNAN() { - if (!isnan(mCssStyle->mStyleWidth)) { - mCssStyle->mStyleWidth = NAN; - markDirty(); - markChildrenDirty(true); - } - } - - inline float getStyleWidth() const { - return mCssStyle->mStyleWidth; - } - - inline void setStyleHeight(const float height) { - if (mCssStyle->mStyleHeight != height) { - mCssStyle->mStyleHeight = height; - markDirty(); - } - } - - inline float getStyleHeight() const { - return mCssStyle->mStyleHeight; - } - - inline void setMinWidth(const float minWidth, const bool updating) { - if (mCssStyle->mMinWidth != minWidth) { - mCssStyle->mMinWidth = minWidth; - markDirty(); - if(updating) { - markChildrenDirty(true); - } - } - } - - inline float getMinWidth() const { - return mCssStyle->mMinWidth; - } - - inline void setMaxWidth(const float maxWidth, const bool updating) { - if (mCssStyle->mMaxWidth != maxWidth) { - mCssStyle->mMaxWidth = maxWidth; - markDirty(); - if(updating) { - markChildrenDirty(true); - } - } - } - - inline float getMaxWidth() const { - return mCssStyle->mMaxWidth; - } - - inline void setMinHeight(const float minHeight) { - if (mCssStyle->mMinHeight != minHeight) { - mCssStyle->mMinHeight = minHeight; - markDirty(); - } - } - - inline float getMinHeight() const { - return mCssStyle->mMinHeight; - } - - inline void setMaxHeight(const float maxHeight) { - if (mCssStyle->mMaxHeight != maxHeight) { - mCssStyle->mMaxHeight = maxHeight; - markDirty(); - } - } - - inline float getMaxHeight() const { - return mCssStyle->mMaxHeight; - } - - inline void setDirection(const WXCoreDirection direction, const bool updating) { - if (nullptr == mCssStyle) return; - - if (mCssStyle->mDirection != direction) { - mCssStyle->mDirection = direction; - markDirty(); - if (updating) { - for (auto it = ChildListIterBegin(); it != ChildListIterEnd(); it++) { - (*it)->markInheritableDirty(); - } - } - } - } - - inline WXCoreDirection getDirection() const { - if (mCssStyle == nullptr) { - return WEEXCORE_CSS_DEFAULT_DIRECTION; - } - return mCssStyle->mDirection; - } - - /** ================================ CSS direction For RTL =================================== **/ - - void determineChildLayoutDirection(const WXCoreDirection direction); - - WXCoreDirection getLayoutDirectionFromPathNode(); - - /** ================================ flex-style =================================== **/ - - inline void setFlexDirection(const WXCoreFlexDirection flexDirection, const bool updating) { - if (mCssStyle->mFlexDirection != flexDirection) { - mCssStyle->mFlexDirection = flexDirection; - markDirty(); - if (updating) { - for (auto it = ChildListIterBegin(); it != ChildListIterEnd(); it++) { - (*it)->markDirty(false); - } - } - } - } - - inline WXCoreFlexDirection getFlexDirection() const { - return mCssStyle->mFlexDirection; - } - - inline void setFlexWrap(const WXCoreFlexWrap flexWrap) { - if (mCssStyle->mFlexWrap != flexWrap) { - mCssStyle->mFlexWrap = flexWrap; - markDirty(); - } - } - - inline WXCoreFlexWrap getFlexWrap() const { - return mCssStyle->mFlexWrap; - } - - inline void setJustifyContent(const WXCoreJustifyContent justifyContent) { - if (mCssStyle->mJustifyContent != justifyContent) { - mCssStyle->mJustifyContent = justifyContent; - } - } - - inline WXCoreJustifyContent getJustifyContent() const { - return mCssStyle->mJustifyContent; - } - - inline void setAlignItems(const WXCoreAlignItems alignItems) { - if (mCssStyle->mAlignItems != alignItems) { - mCssStyle->mAlignItems = alignItems; - markDirty(); - } - } - - inline WXCoreAlignItems getAlignItems() const { - return mCssStyle->mAlignItems; - } - - inline void setAlignSelf(const WXCoreAlignSelf alignSelf) { - if (mCssStyle->mAlignSelf != alignSelf) { - mCssStyle->mAlignSelf = alignSelf; - markDirty(); - } - } - - inline WXCoreAlignSelf getAlignSelf() const { - return mCssStyle->mAlignSelf; - } - - virtual void set_flex(const float flex) { - if (mCssStyle->mFlexGrow != flex) { - mCssStyle->mFlexGrow = flex; - markDirty(); - } - } - - inline float getFlex() const { - return mCssStyle->mFlexGrow; - } - - /** ================================ layout-result =================================== **/ - - inline float getLayoutWidth() const { - return mLayoutResult->mLayoutSize.width; - } - - inline float getLayoutHeight() const { - return mLayoutResult->mLayoutSize.height; - } - - inline float getLayoutPositionTop() const { - return mLayoutResult->mLayoutPosition.getPosition(kPositionEdgeTop); - } - - inline float getLayoutPositionBottom() const { - return mLayoutResult->mLayoutPosition.getPosition(kPositionEdgeBottom); - } - - inline float getLayoutPositionLeft() const { - return mLayoutResult->mLayoutPosition.getPosition(kPositionEdgeLeft); - } - - inline float getLayoutPositionRight() const { - return mLayoutResult->mLayoutPosition.getPosition(kPositionEdgeRight); - } - - virtual inline WXCoreDirection getLayoutDirection() const { - if (nullptr == mLayoutResult) { - return WEEXCORE_CSS_DEFAULT_DIRECTION; - } - return mLayoutResult->mLayoutDirection; - } - - inline void setLayoutDirection(WXCoreDirection direction) { - if (nullptr == mLayoutResult) return; - mLayoutResult->mLayoutDirection = direction; - } - inline bool hasNewLayout() const { - return mHasNewLayout; - } - - inline bool isDirty() const { - return dirty; - } - - inline void markDirty(const bool recursion = true) { - if (!isDirty()) { - dirty = true; - if (getParent() != nullptr && recursion) { - getParent()->markDirty(); - } - } - } - - void markAllDirty() { - markDirty(false); - for (WXCoreLayoutNode* c : mChildList) { - c->markAllDirty(); - } - } - - bool markChildrenDirty(const bool updatedNode = false) { - bool ret = false; - if(getChildCount() == 0){ - if(measureFunc!= nullptr){ - ret = true; - } - } - else { - //isnan(mCssStyle->mStyleWidth) XOR updatedNode - if(isnan(mCssStyle->mStyleWidth) != updatedNode){ - for (auto it = ChildListIterBegin(); it != ChildListIterEnd(); it++) { - ret = ((*it)->markChildrenDirty() || ret) ; - } - } - } - dirty = ret || dirty; - return ret; - } - - void markInheritableDirty() { - if (resetInheritableSet()) { - // if some style was inherited from parent, reset those styles - // then mark self dirty - markDirty(false); - - // traverse children to mark dirty - if(getChildCount() == 0){ - return; - } - else { - for (auto it = ChildListIterBegin(); it != ChildListIterEnd(); it++) { - (*it)->markInheritableDirty(); - } - } - } - } - - /** - * if some style was inherited from parent, reset those styles, then return true, eles return false - */ - bool resetInheritableSet() { - if (mCssStyle == nullptr || mLayoutResult == nullptr) return false; - - bool hasInheritedStyle = false; - if (mCssStyle->mDirection == kDirectionInherit) { - mLayoutResult->mLayoutDirection = kDirectionInherit; - hasInheritedStyle = true; - } - return hasInheritedStyle; - } - - inline void setHasNewLayout(const bool hasNewLayout) { - this->mHasNewLayout = hasNewLayout; - } - - inline float getLargestMainSize() const { - float largestSize = 0; - for (WXCoreFlexLine *flexLine : mFlexLines) { - largestSize = std::max(largestSize, flexLine->mMainSize); - } - return largestSize + sumPaddingBorderAlongAxis(this, isMainAxisHorizontal(this)); - } - - inline void rewriteLayoutResult(float left, float top, float width, float height) { - if (mLayoutResult != nullptr) { - mLayoutResult->mLayoutPosition.setPosition(kPositionEdgeLeft, left); - mLayoutResult->mLayoutPosition.setPosition(kPositionEdgeTop, top); - mLayoutResult->mLayoutPosition.setPosition(kPositionEdgeRight, left + width); - mLayoutResult->mLayoutPosition.setPosition(kPositionEdgeBottom, top + height); - mLayoutResult->mLayoutSize.width = width; - mLayoutResult->mLayoutSize.height = height; - } - } - }; -} -#endif //WEEXCORE_FLEXLAYOUT_WXCORELAYOUTNODE_H -#endif diff --git a/ios/UniMPSDK/Headers/weexHeader/style.h b/ios/UniMPSDK/Headers/weexHeader/style.h deleted file mode 100644 index 1486aec8..00000000 --- a/ios/UniMPSDK/Headers/weexHeader/style.h +++ /dev/null @@ -1,310 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -#ifdef __cplusplus - -#ifndef WEEXCORE_FLEXLAYOUT_WXCOREFLEXENUMS_H -#define WEEXCORE_FLEXLAYOUT_WXCOREFLEXENUMS_H - - -#include "flex_enum.h" -#include -#include - -namespace WeexCore { - - /** - * Margin: margin-left、margin-right、margin-top、margin-bottom - */ - class WXCoreMargin { - private: - float mMarginTop; - float mMarginBottom; - float mMarginLeft; - float mMarginRight; - - public: - WXCoreMargin() : mMarginTop(0), - mMarginBottom(0), - mMarginLeft(0), - mMarginRight(0) {} - - ~WXCoreMargin() { - mMarginTop = 0; - mMarginBottom = 0; - mMarginLeft = 0; - mMarginRight = 0; - } - - bool setMargin(const WXCoreMarginEdge &edge, float margin); - - float getMargin(const WXCoreMarginEdge &edge)const; - }; - - - /** - * Padding:padding-left、padding-right、padding-top、padding-bottom - */ - class WXCorePadding { - private: - float mPaddingTop; - float mPaddingBottom; - float mPaddingLeft; - float mPaddingRight; - - public: - WXCorePadding() : mPaddingTop(0), - mPaddingBottom(0), - mPaddingLeft(0), - mPaddingRight(0) {} - - ~WXCorePadding() { - mPaddingTop = 0; - mPaddingBottom = 0; - mPaddingLeft = 0; - mPaddingRight = 0; - } - - bool setPadding(const WXCorePaddingEdge &edge, float padding); - - float getPadding(const WXCorePaddingEdge &edge)const; - }; - - - /** - * BorderWidth:borderwidth-left、borderwidth-right、borderwidth-top、borderwidth-bottom - */ - class WXCoreBorderWidth { - private: - float mBorderWidthTop; - float mBorderWidthBottom; - float mBorderWidthLeft; - float mBorderWidthRight; - - public: - WXCoreBorderWidth() : mBorderWidthTop(0), - mBorderWidthBottom(0), - mBorderWidthLeft(0), - mBorderWidthRight(0) {} - - ~WXCoreBorderWidth() { - mBorderWidthTop = 0; - mBorderWidthBottom = 0; - mBorderWidthLeft = 0; - mBorderWidthRight = 0; - } - - bool setBorderWidth(const WXCoreBorderWidthEdge &edge, float borderWidth); - - float getBorderWidth(const WXCoreBorderWidthEdge &edge)const; - }; - - - /** - * position:left、right、top、bottom - */ - class WXCorePosition { - private: - float mTop; - float mBottom; - float mLeft; - float mRight; - - public: - WXCorePosition() : mTop(NAN), - mBottom(NAN), - mLeft(NAN), - mRight(NAN) {} - - ~WXCorePosition() { - reset(); - } - - inline bool isNAN() { - return isnan(mTop) || isnan(mBottom) || isnan(mLeft) || isnan(mRight); - } - - inline void reset() { - mTop = 0; - mBottom = 0; - mLeft = 0; - mRight = 0; - } - - bool setPosition(const WXCorePositionEdge &edge, float position); - - float getPosition(const WXCorePositionEdge &edge); - }; - - enum DimensionLevel{ - CSS_STYLE = 1, - INSTANCE_STYLE = 2, - FALLBACK_STYLE = 3 - }; - - /** - * css-style - */ - class WXCoreCSSStyle { - public: - /** - * The direction children items are placed inside the Flexbox layout, it determines the - * direction of the main axis (and the cross axis, perpendicular to the main axis). - * The default value is {@link WXCoreFlexDirection #WXCore_Flex_Direction_Row}. - */ - WXCoreFlexDirection mFlexDirection; - - /** - * This attribute controls whether the flex container is single-line or multi-line, and the - * direction of the cross axis. - *
    - *
  • {@link WXCoreFlexWrap}: The flex container is single-line.
  • - *
  • {@link WXCoreFlexWrap}: The flex container is multi-line.
  • - *
  • {@link WXCoreFlexWrap}: The flex container is multi-line. The direction of the - * cross axis is opposed to the direction as the {@link WXCoreFlexWrap}
  • - *
- * The default value is {@link WXCoreFlexWrap #WXCore_Wrap_NoWrap}. - */ - WXCoreFlexWrap mFlexWrap; - - /** - * This attribute controls the alignment along the main axis. - * The default value is {@link WXCoreJustifyContent #WXCore_Justify_Flex_Start}. - */ - WXCoreJustifyContent mJustifyContent; - - /** - * This attribute controls the alignment along the cross axis. - * The default value is {@link WXCoreAlignItems #WXCore_AlignItems_Stretch}. - */ - WXCoreAlignItems mAlignItems; - - /** - * This attribute controls the alignment along the cross axis. - * The default value is {@link WXCoreAlignSelf #WXCore_AlignSelf_Auto}. - */ - WXCoreAlignSelf mAlignSelf; - - WXCorePositionType mPositionType; - - WXCoreDirection mDirection; - - float mFlexGrow; - - float mMinWidth; - - float mMinHeight; - - float mMaxWidth; - - float mMaxHeight; - - float mStyleWidth; - - float mStyleHeight; - - DimensionLevel mStyleWidthLevel; - - DimensionLevel mStyleHeightLevel; - - WXCoreMargin mMargin; - - WXCorePadding mPadding; - - WXCoreBorderWidth mBorderWidth; - - WXCorePosition mStylePosition; - - constexpr static float kFlexGrowDefault = 0; - - constexpr static WXCoreDirection kDirectionDefault = kDirectionLTR; - - constexpr static WXCoreFlexDirection kFlexDirectionDefault= kFlexDirectionColumn; - - constexpr static WXCoreFlexWrap kFlexWrapDefault = kNoWrap; - - constexpr static WXCoreJustifyContent kFlexJustifyContentDefault = kJustifyFlexStart; - - constexpr static WXCoreAlignItems kFlexAlignItemsDefault = kAlignItemsStretch; - - constexpr static WXCoreAlignSelf kFlexAlignSelfDefault = kAlignSelfAuto; - - constexpr static WXCorePositionType kWXCorePositionTypeDefault = kRelative; - - WXCoreCSSStyle() : mDirection(kDirectionInherit), - mFlexDirection(kFlexDirectionDefault), - mFlexWrap(kFlexWrapDefault), - mJustifyContent(kFlexJustifyContentDefault), - mAlignItems(kFlexAlignItemsDefault), - mAlignSelf(kFlexAlignSelfDefault), - mFlexGrow(kFlexGrowDefault), - mPositionType(kWXCorePositionTypeDefault), - mStyleWidth(NAN), mStyleHeight(NAN), - mStyleHeightLevel(FALLBACK_STYLE), mStyleWidthLevel(FALLBACK_STYLE), - mMaxWidth(NAN), mMaxHeight(NAN), - mMinWidth(NAN), mMinHeight(NAN) { - - } - - ~WXCoreCSSStyle() { - mDirection = kDirectionInherit; - mFlexDirection = kFlexDirectionDefault; - mFlexWrap = kFlexWrapDefault; - mJustifyContent = kFlexJustifyContentDefault; - mAlignItems = kFlexAlignItemsDefault; - mAlignSelf = kFlexAlignSelfDefault; - mFlexGrow = kFlexGrowDefault; - mStyleWidth = NAN; - mStyleHeight = NAN; - mStyleWidthLevel = FALLBACK_STYLE; - mStyleHeightLevel = FALLBACK_STYLE; - mMaxWidth = NAN; - mMaxHeight = NAN; - mMinWidth = NAN; - mMinHeight = NAN; - } - - inline float sumPaddingBorderOfEdge(const WXCoreEdge edge){ - switch (edge) { - case kTop: - return mPadding.getPadding(kPaddingTop) - + mBorderWidth.getBorderWidth(kBorderWidthTop); - case kRight: - return mPadding.getPadding(kPaddingRight) - + mBorderWidth.getBorderWidth(kBorderWidthRight); - case kBottom: - return mPadding.getPadding(kPaddingBottom) - + mBorderWidth.getBorderWidth(kBorderWidthBottom); - case kLeft: - return mPadding.getPadding(kPaddingLeft) - + mBorderWidth.getBorderWidth(kBorderWidthLeft); - } - } - - float sumMarginOfDirection(bool horizontal){ - if(horizontal){ - return mMargin.getMargin(kMarginLeft) + mMargin.getMargin(kMarginRight); - } - else{ - return mMargin.getMargin(kMarginTop) + mMargin.getMargin(kMarginBottom); - } - } - }; -} -#endif //WEEXCORE_FLEXLAYOUT_WXCOREFLEXENUMS_H -#endif diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/AMapFoundationKit b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/AMapFoundationKit deleted file mode 100644 index 78e139f1..00000000 Binary files a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/AMapFoundationKit and /dev/null differ diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationConst.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationConst.h deleted file mode 100644 index 8bd86abf..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationConst.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// AMapFoundationConst.h -// AMapFoundationKit -// -// Created by JL on 2019/7/22. -// Copyright © 2019 Amap.com. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -typedef NSInteger AMapFoundationNSErrorCode; - -//ErrorDomain:文件不存在 错误码:-555555 -extern NSErrorDomain const AMapFoundationNSErrorFileDonotExist; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorFileDonotExistCode; - -//ErrorDomain:文件路径不合法 错误码:-555556 -extern NSErrorDomain const AMapFoundationNSErrorFilePathInvaild; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorFilePathInvaildCode; - -//ErrorDomain:指定类型的日志文件不存在 错误码:-555557 -extern NSErrorDomain const AMapFoundationNSErrorTypeLogDonotExist; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorTypeLogDonotExistCode; - -//ErrorDomain:待上传的数据为空(可能是组装/压缩时出错) 错误码:-555558 -extern NSErrorDomain const AMapFoundationNSErrorUploadDataIsEmpty; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorUploadDataIsEmptyCode; - -//ErrorDomain:参数错误 错误码:-444444 -extern NSErrorDomain const AMapFoundationNSErrorParametersInvalid; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorParametersInvalidCode; - - -extern NSErrorDomain const AMapFoundationNSErrorCloudConfigDisable; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorCloudConfigDisableCode; - -extern NSErrorDomain const AMapFoundationNSErrorNetworkUnusable; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorNetworkUnusableCode; - -extern NSErrorDomain const AMapFoundationNSErrorCurrentworkIsRunning; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorCurrentworkIsRunningCode; - -extern NSErrorDomain const AMapFoundationNSErrorCurrentUploadSizeHaveExcess; -extern AMapFoundationNSErrorCode const AMapFoundationNSErrorCurrentUploadSizeHaveExcessCode; - -NS_ASSUME_NONNULL_END diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationKit.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationKit.h deleted file mode 100644 index 258e115f..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationKit.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// AMapFoundationKit.h -// AMapFoundationKit -// -// Created by xiaoming han on 15/10/28. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import -#import -#import -#import -#import -#import - -#import diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationVersion.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationVersion.h deleted file mode 100644 index 665e6af2..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapFoundationVersion.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// AMapFoundationVersion.h -// AMapFoundation -// -// Created by xiaoming han on 15/10/26. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import - -#ifndef AMapFoundationVersion_h -#define AMapFoundationVersion_h - -#define AMapFoundationVersionNumber 10604 - -FOUNDATION_EXTERN NSString * const AMapFoundationVersion; -FOUNDATION_EXTERN NSString * const AMapFoundationName; - -#endif /* AMapFoundationVersion_h */ diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapServices.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapServices.h deleted file mode 100644 index 1cfe6385..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapServices.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// AMapSearchServices.h -// AMapSearchKit -// -// Created by xiaoming han on 15/6/18. -// Copyright (c) 2015年 xiaoming han. All rights reserved. -// - -#import - - -/** - * 是否为海外用户...海外用户,SDK内部会屏蔽一些操作 默认为NO. - * @warning AMapServices初始化之前,设置才能生效 - */ -extern BOOL _amapLocationOverseas; - -///高德SDK服务类 -@interface AMapServices : NSObject - -/** - * @brief 获取单例 - */ -+ (AMapServices *)sharedServices; - - -///APIkey。设置key,需要在高德官网控制台绑定对应的bundleid。 -@property (nonatomic, copy) NSString *apiKey; - -///是否开启HTTPS,从1.3.3版本开始默认为YES。 -@property (nonatomic, assign) BOOL enableHTTPS; - -///是否启用崩溃日志上传。默认为YES, 只有在真机上设置有效。\n开启崩溃日志上传有助于我们更好的了解SDK的状况,可以帮助我们持续优化和改进SDK。需要注意的是,SDK内部是通过设置NSUncaughtExceptionHandler来捕获异常的,如果您的APP中使用了其他收集崩溃日志的SDK,或者自己有设置NSUncaughtExceptionHandler的话,请保证 AMapServices 的初始化是在其他设置NSUncaughtExceptionHandler操作之后进行的,我们的handler会再处理完异常后调用前一次设置的handler,保证之前设置的handler会被执行。 -@property (nonatomic, assign) BOOL crashReportEnabled __attribute__((deprecated("从v1.5.7开始废弃,调用无任何作用"))); - -///设备标识,取自idfv。用于排查问题时提供。 -@property (nonatomic, readonly) NSString *identifier; - -@end diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearch.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearch.h deleted file mode 100644 index 9379f4f8..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearch.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// AMapURLSearch.h -// AMapFoundation -// -// Created by xiaoming han on 15/10/28. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import -#import "AMapURLSearchConfig.h" - -///调起高德地图URL进行搜索,若是调起失败,可使用`+ (void)getLatestAMapApp;`方法获取最新版高德地图app. -@interface AMapURLSearch : NSObject - -/** - * @brief 打开高德地图AppStore页面 - */ -+ (void)getLatestAMapApp; - -/** - * @brief 调起高德地图app驾车导航. - * @param config 配置参数. - * @return 是否成功.若为YES则成功调起,若为NO则无法调起. - */ -+ (BOOL)openAMapNavigation:(AMapNaviConfig *)config; - -/** - * @brief 调起高德地图app进行路径规划. - * @param config 配置参数. - * @return 是否成功. - */ -+ (BOOL)openAMapRouteSearch:(AMapRouteConfig *)config; - -/** - * @brief 调起高德地图app进行POI搜索. - * @param config 配置参数. - * @return 是否成功. - */ -+ (BOOL)openAMapPOISearch:(AMapPOIConfig *)config; - -@end diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearchConfig.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearchConfig.h deleted file mode 100644 index 666b492e..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearchConfig.h +++ /dev/null @@ -1,79 +0,0 @@ -// -// MAMapURLSearchConfig.h -// MAMapKitNew -// -// Created by xiaoming han on 15/5/25. -// Copyright (c) 2015年 xiaoming han. All rights reserved. -// - -#import -#import -#import "AMapURLSearchType.h" - -///导航配置信息 -@interface AMapNaviConfig : NSObject - -///应用返回的Scheme -@property (nonatomic, copy) NSString *appScheme; - -///应用名称 -@property (nonatomic, copy) NSString *appName; - -///终点 -@property (nonatomic, assign) CLLocationCoordinate2D destination; - -///导航策略 -@property (nonatomic, assign) AMapDrivingStrategy strategy; - -@end - -#pragma mark - - -///路径搜索配置信息 -@interface AMapRouteConfig : NSObject - -///应用返回的Scheme -@property (nonatomic, copy) NSString *appScheme; - -///应用名称 -@property (nonatomic, copy) NSString *appName; - -///起点坐标 -@property (nonatomic, assign) CLLocationCoordinate2D startCoordinate; - -///终点坐标 -@property (nonatomic, assign) CLLocationCoordinate2D destinationCoordinate; - -///驾车策略 -@property (nonatomic, assign) AMapDrivingStrategy drivingStrategy; - -///公交策略 -@property (nonatomic, assign) AMapTransitStrategy transitStrategy; - -///路径规划类型 -@property (nonatomic, assign) AMapRouteSearchType routeType; - -@end - -#pragma mark - - -///POI搜索配置信息 -@interface AMapPOIConfig : NSObject - -///应用返回的Scheme -@property (nonatomic, copy) NSString *appScheme; - -///应用名称 -@property (nonatomic, copy) NSString *appName; - -///搜索关键字 -@property (nonatomic, copy) NSString *keywords; - -///左上角坐标 -@property (nonatomic, assign) CLLocationCoordinate2D leftTopCoordinate; - -///右下角坐标 -@property (nonatomic, assign) CLLocationCoordinate2D rightBottomCoordinate; - -@end - diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearchType.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearchType.h deleted file mode 100644 index 424d9059..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapURLSearchType.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// MAMapURLSearchType.h -// MAMapKitNew -// -// Created by xiaoming han on 15/5/25. -// Copyright (c) 2015年 xiaoming han. All rights reserved. -// - -///驾车策略 -typedef NS_ENUM(NSInteger, AMapDrivingStrategy) -{ - AMapDrivingStrategyFastest = 0, ///<速度最快 - AMapDrivingStrategyMinFare = 1, ///<避免收费 - AMapDrivingStrategyShortest = 2, ///<距离最短 - - AMapDrivingStrategyNoHighways = 3, ///<不走高速 - AMapDrivingStrategyAvoidCongestion = 4, ///<躲避拥堵 - - AMapDrivingStrategyAvoidHighwaysAndFare = 5, ///<不走高速且避免收费 - AMapDrivingStrategyAvoidHighwaysAndCongestion = 6, ///<不走高速且躲避拥堵 - AMapDrivingStrategyAvoidFareAndCongestion = 7, ///<躲避收费和拥堵 - AMapDrivingStrategyAvoidHighwaysAndFareAndCongestion = 8 ///<不走高速躲避收费和拥堵 -}; - -///公交策略 -typedef NS_ENUM(NSInteger, AMapTransitStrategy) -{ - AMapTransitStrategyFastest = 0,///<最快捷 - AMapTransitStrategyMinFare = 1,///<最经济 - AMapTransitStrategyMinTransfer = 2,///<最少换乘 - AMapTransitStrategyMinWalk = 3,///<最少步行 - AMapTransitStrategyMostComfortable = 4,///<最舒适 - AMapTransitStrategyAvoidSubway = 5,///<不乘地铁 -}; - -///路径规划类型 -typedef NS_ENUM(NSInteger, AMapRouteSearchType) -{ - AMapRouteSearchTypeDriving = 0, ///<驾车 - AMapRouteSearchTypeTransit = 1, ///<公交 - AMapRouteSearchTypeWalking = 2, ///<步行 -}; - - diff --git a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapUtility.h b/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapUtility.h deleted file mode 100644 index 6cb26929..00000000 --- a/ios/UniMPSDK/Libs/AMapFoundationKit.framework/Headers/AMapUtility.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// AMapUtility.h -// AMapFoundation -// -// Created by xiaoming han on 15/10/27. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import -#import - -//工具方法 - -/** - * @brief 如果字符串为nil则返回空字符串 - */ -FOUNDATION_STATIC_INLINE NSString * AMapEmptyStringIfNil(NSString *s) -{ - return s ? s : @""; -} - -///坐标类型枚举 -typedef NS_ENUM(NSInteger, AMapCoordinateType) -{ - AMapCoordinateTypeAMap = -1, /// -#import "AMapGeoFenceRegionObj.h" - -// 以下类涉及的坐标需要使用高德坐标系坐标(GCJ02) - -@protocol AMapGeoFenceManagerDelegate; - -///地理围栏监听状态类型 -typedef NS_OPTIONS(NSUInteger, AMapGeoFenceActiveAction) -{ - AMapGeoFenceActiveActionNone = 0, ///< 不进行监听 - AMapGeoFenceActiveActionInside = 1 << 0, ///< 在范围内 - AMapGeoFenceActiveActionOutside = 1 << 1, ///< 在范围外 - AMapGeoFenceActiveActionStayed = 1 << 2, ///< 停留(在范围内超过10分钟) -}; - -///地理围栏任务状态类型 -typedef NS_OPTIONS(NSUInteger, AMapGeoFenceRegionActiveStatus) -{ - AMapGeoFenceRegionActiveUNMonitor = 0, ///< 未注册 - AMapGeoFenceRegionActiveMonitoring = 1 << 0, ///< 正在监控 - AMapGeoFenceRegionActivePaused = 1 << 1, ///< 暂停监控 -}; - -///地理围栏管理类(since 2.3.0) -@interface AMapGeoFenceManager : NSObject - - -///实现了 AMapGeoFenceManagerDelegate 协议的类指针。 -@property (nonatomic, weak) id delegate; - - -///需要进行通知的行为,默认为AMapGeoFenceActiveActionInside。 -@property (nonatomic, assign) AMapGeoFenceActiveAction activeAction; - - -///指定定位是否会被系统自动暂停。默认为NO。 -@property (nonatomic, assign) BOOL pausesLocationUpdatesAutomatically; - - -///是否允许后台定位。默认为NO。只在iOS 9.0及之后起作用。设置为YES的时候必须保证 Background Modes 中的 Location updates 处于选中状态,否则会抛出异常。 -@property (nonatomic, assign) BOOL allowsBackgroundLocationUpdates; - -///检测是否存在虚拟定位风险,默认为NO,即不检测。 \n如果设置为YES,检测到风险后,会通过amapGeoFenceManager:didGeoFencesStatusChangedForRegion:customID:error: 的error给出风险提示,error的格式为error.domain==AMapGeoFenceErrorDomain; error.code==AMapGeoFenceErroFailureLocating; -@property (nonatomic, assign) BOOL detectRiskOfFakeLocation; - - -/** - * @brief 添加一个圆形围栏 - * @param center 围栏的中心点经纬度坐标 - * @param radius 围栏的半径,单位:米,要求大于0 - * @param customID 用户自定义ID,可选,SDK原值返回 - */ -- (void)addCircleRegionForMonitoringWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius customID:(NSString *)customID; - - -/** - * @brief 根据经纬度坐标数据添加一个闭合的多边形围栏,点与点之间按顺序尾部相连, 第一个点与最后一个点相连 - * @param coordinates 经纬度坐标点数据,coordinates对应的内存会拷贝,调用者负责该内存的释放 - * @param count 经纬度坐标点的个数,不可小于3个 - * @param customID 用户自定义ID,可选,SDK原值返回 - */ -- (void)addPolygonRegionForMonitoringWithCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSInteger)count customID:(NSString *)customID; - - -/** - * @brief 根据要查询的关键字,类型,城市等信息,添加一个或者多个POI地理围栏 - * @param keyword 要查询的关键字,多个关键字用“|”分割,必填,keyword和type两者至少必选其一 - * @param type 要查询的POI类型,多个类型用“|”分割,必填,keyword和type两者至少必选其一,具体分类编码和规则详见: http://lbs.amap.com/api/webservice/guide/api/search/#text - * @param city 要查询的城市 - * @param size 要查询的数据的条数,(0,25],传入<=0的值为10,传入大于25的值为25,默认10 - * @param customID 用户自定义ID,可选,SDK原值返回 - */ -- (void)addKeywordPOIRegionForMonitoringWithKeyword:(NSString *)keyword POIType:(NSString *)type city:(NSString *)city size:(NSInteger)size customID:(NSString *)customID; - - -/** - * @brief 根据要查询的点的经纬度,搜索半径等信息,添加一个或者多个POI围栏 - * @param locationPoint 点的经纬度坐标,必填 - * @param aroundRadius 查询半径,单位:米,(0,50000],超出范围取3000,默认3000 - * @param keyword 要查询的关键字,多个关键字用“|”分割,可选 - * @param type 要查询的POI类型,多个类型用“|”分割,可选 - * @param size 要查询的数据的条数,(0,25],传入<=0的值为10,传入大于25的值为25,默认10 - * @param customID 用户自定义ID,可选,SDK原值返回 - */ -- (void)addAroundPOIRegionForMonitoringWithLocationPoint:(CLLocationCoordinate2D)locationPoint aroundRadius:(NSInteger)aroundRadius keyword:(NSString *)keyword POIType:(NSString *)type size:(NSInteger)size customID:(NSString *)customID; - - -/** - * @brief 根据要查询的行政区域关键字,添加一个或者多个行政区域围栏 - * @param districtName 行政区域关键字,必填,只支持单个关键词语:行政区名称、citycode、adcode,规则详见: http://lbs.amap.com/api/webservice/guide/api/district/#district - * @param customID 用户自定义ID,可选,SDK原值返回 - */ -- (void)addDistrictRegionForMonitoringWithDistrictName:(NSString *)districtName customID:(NSString *)customID; - -/** - * @brief 获取指定围栏的运行状态 - * @param region 要获取运行状态的围栏 - * @return 返回指定围栏的运行状态 - */ -- (AMapGeoFenceRegionActiveStatus)statusWithGeoFenceRegion:(AMapGeoFenceRegion *)region; - -/** - * @brief 根据customID获得所有已经注册的围栏,如果customID传nil,则返回全部已注册围栏 - * @param customID 用户执行添加围栏函数时传入的customID - * @return 获得的围栏构成的数组,如果没有结果,返回nil - */ -- (NSArray *)geoFenceRegionsWithCustomID:(NSString *)customID; - -/** - * @brief 根据customID获得所有正在监控的围栏,如果customID传nil,则返回全部正在监控的围栏 - * @param customID 用户执行添加围栏函数时传入的customID - * @return 获得的围栏构成的数组,如果没有结果,返回nil - */ -- (NSArray *)monitoringGeoFenceRegionsWithCustomID:(NSString *)customID; - -/** - * @brief 根据customID获得所有已经暂停的围栏,如果customID传nil,则返回全部已经暂停的围栏 - * @param customID 用户执行添加围栏函数时传入的customID - * @return 获得的围栏构成的数组,如果没有结果,返回nil - */ -- (NSArray *)pausedGeoFenceRegionsWithCustomID:(NSString *)customID; - - -/** - * @brief 暂停指定customID的围栏 - * @param customID 用户执行添加围栏函数时传入的customID - * @return 返回被暂停围栏的数组,如果没有围栏被暂停,返回nil - */ -- (NSArray *)pauseGeoFenceRegionsWithCustomID:(NSString *)customID; - - -/** - * @brief 暂停指定围栏 - * @param region 要暂停监控的围栏 - * @return 返回指定围栏是否被暂停,如果指定围栏没有注册,则返回NO - */ -- (BOOL)pauseTheGeoFenceRegion:(AMapGeoFenceRegion *)region; - -/** - * @brief 根据customID开始监控已经暂停的围栏 - * @param customID 用户执行添加围栏函数时传入的customID - * @return 返回开始监控的围栏构成的数组 - */ -- (NSArray *)startGeoFenceRegionsWithCustomID:(NSString *)customID; - -/** - * @brief 开始监控指定围栏 - * @param region 要开始监控的围栏 - * @return 返回指定围栏是否开始监控,如果指定围栏没有注册,则返回NO - */ -- (BOOL)startTheGeoFenceRegion:(AMapGeoFenceRegion *)region; - -/** - * @brief 移除指定围栏 - * @param region 要停止监控的围栏 - */ -- (void)removeTheGeoFenceRegion:(AMapGeoFenceRegion *)region; - -/** - * @brief 移除指定customID的围栏 - * @param customID 用户执行添加围栏函数时传入的customID - */ -- (void)removeGeoFenceRegionsWithCustomID:(NSString *)customID; - -/** - * @brief 移除所有围栏 - */ -- (void)removeAllGeoFenceRegions; - -@end - -///地理围栏代理协议(since 2.3.0),该协议定义了获取地理围栏相关回调方法,包括添加、状态改变等。 -@protocol AMapGeoFenceManagerDelegate - -@required - -#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 - -/** - * @brief iOS14及以上版本使用地理围栏功能,需要在plist中配置NSLocationTemporaryUsageDescriptionDictionary字典描述,且添加自定义Key描述地理围栏的使用场景,此描述会在申请临时精确定位权限的弹窗中展示。该回调触发条件:拥有定位权限,但是没有获得精确定位权限的情况下,会触发该回调。此方法实现调用申请临时精确定位权限API即可: - * [manager requestTemporaryFullAccuracyAuthorizationWithPurposeKey:@"PurposeKey" completion:^(NSError *error){ - * if(completion){ - * completion(error); - * } - * }]; (必须调用,不然无法正常获取临时精确定位权限) - * @param manager 地理围栏管理类。 - * @param locationManager 需要申请临时精确定位权限的locationManager。 - * @param completion 临时精确定位权限API回调结果。直接返回系统error即可 - * @since 2.6.7 - */ -- (void)amapLocationManager:(AMapGeoFenceManager *)manager doRequireTemporaryFullAccuracyAuth:(CLLocationManager*)locationManager completion:(void(^)(NSError *error))completion; - -#endif - -@optional - -/** - * @brief 当plist配置NSLocationAlwaysUsageDescription或者NSLocationAlwaysAndWhenInUseUsageDescription,并且[CLLocationManager authorizationStatus] == kCLAuthorizationStatusNotDetermined,会调用代理的此方法。 - 此方法实现申请后台权限API即可:[locationManager requestAlwaysAuthorization](必须调用,不然无法正常获取定位权限) - * @param manager 地理围栏管理类。 - * @param locationManager 需要申请后台定位权限的locationManager。 - * @since 2.6.2 - */ -- (void)amapGeoFenceManager:(AMapGeoFenceManager *)manager doRequireLocationAuth:(CLLocationManager*)locationManager; - -/** - * @brief 添加地理围栏完成后的回调,成功与失败都会调用 - * @param manager 地理围栏管理类 - * @param regions 成功添加的一个或多个地理围栏构成的数组 - * @param customID 用户执行添加围栏函数时传入的customID - * @param error 添加失败的错误信息 - */ -- (void)amapGeoFenceManager:(AMapGeoFenceManager *)manager didAddRegionForMonitoringFinished:(NSArray *)regions customID:(NSString *)customID error:(NSError *)error; - - -/** - * @brief 地理围栏状态改变时回调,当围栏状态的值发生改变,定位失败都会调用 - * @param manager 地理围栏管理类 - * @param region 状态改变的地理围栏 - * @param customID 用户执行添加围栏函数时传入的customID - * @param error 错误信息,如定位相关的错误 - */ -- (void)amapGeoFenceManager:(AMapGeoFenceManager *)manager didGeoFencesStatusChangedForRegion:(AMapGeoFenceRegion *)region customID:(NSString *)customID error:(NSError *)error; - -@end diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapGeoFenceRegionObj.h b/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapGeoFenceRegionObj.h deleted file mode 100644 index 833fa9ca..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapGeoFenceRegionObj.h +++ /dev/null @@ -1,120 +0,0 @@ -// -// AMapGeoFenceRegionObj.h -// AMapLocationKit -// -// Created by hanxiaoming on 16/12/5. -// Copyright © 2016年 Amap. All rights reserved. -// - -#import "AMapLocationCommonObj.h" - - -///AMapGeoFence Region State -typedef NS_ENUM(NSInteger, AMapGeoFenceRegionStatus) -{ - AMapGeoFenceRegionStatusUnknown = 0, ///< 未知 - AMapGeoFenceRegionStatusInside = 1, ///< 在范围内 - AMapGeoFenceRegionStatusOutside = 2, ///< 在范围外 - AMapGeoFenceRegionStatusStayed = 3, ///< 停留(在范围内超过10分钟) -}; - -typedef NS_ENUM(NSInteger, AMapGeoFenceRegionType) -{ - AMapGeoFenceRegionTypeCircle = 0, /// 圆形地理围栏 - AMapGeoFenceRegionTypePolygon = 1, /// 多边形地理围栏 - AMapGeoFenceRegionTypePOI = 2, /// 兴趣点(POI)地理围栏 - AMapGeoFenceRegionTypeDistrict = 3, /// 行政区划地理围栏 -}; - -#pragma mark - AMapGeoFenceRegion - - -///地理围栏基类,不可直接使用。(since 2.3.0) -@interface AMapGeoFenceRegion : NSObject - - -///AMapGeoFenceRegion的唯一标识符 -@property (nonatomic, copy, readonly) NSString *identifier; - - -///用户自定义ID,可为nil。 -@property (nonatomic, copy, readonly) NSString *customID; - - -///坐标点和围栏的关系,比如用户的位置和围栏的关系 -@property (nonatomic, assign) AMapGeoFenceRegionStatus fenceStatus; - -///用户自定义ID,可为nil。 -@property (nonatomic, assign) AMapGeoFenceRegionType regionType; - -///缓存最近获取的定位信息,可能会存在延时,可为nil,会在获取定位时更新 -@property (nonatomic, copy) CLLocation *currentLocation; - -@end - - -#pragma mark - AMapLocationCircleRegion - - -///圆形地理围栏(since 2.3.0) -@interface AMapGeoFenceCircleRegion : AMapGeoFenceRegion - - -///中心点的经纬度坐标 -@property (nonatomic, readonly) CLLocationCoordinate2D center; - - -///半径,单位:米 -@property (nonatomic, readonly) CLLocationDistance radius; - -@end - - -#pragma mark -AMapGeoFencePolygonRegion - - -///多边形地理围栏(since 2.3.0) -@interface AMapGeoFencePolygonRegion : AMapGeoFenceRegion - - -///经纬度坐标点数据 -@property (nonatomic, readonly) CLLocationCoordinate2D *coordinates; - - -///经纬度坐标点的个数 -@property (nonatomic, readonly) NSInteger count; - - -@end - - -#pragma mark -AMapGeoFencePOIRegion - - -///兴趣点(POI)地理围栏(since 2.3.0) -@interface AMapGeoFencePOIRegion : AMapGeoFenceCircleRegion - - -///POI信息 -@property (nonatomic, strong, readonly) AMapLocationPOIItem *POIItem; - - -@end - - -#pragma mark -AMapGeoFenceDistrictRegion - - -///行政区划地理围栏(since 2.3.0) -@interface AMapGeoFenceDistrictRegion : AMapGeoFenceRegion - - -///行政区域信息 -@property (nonatomic, strong, readonly) AMapLocationDistrictItem *districtItem; - - -///行政区域轮廓坐标点,每个行政区可能有多个模块,每个模块的坐标点数组由AMapLocationPoint构成 -@property (nonatomic, copy, readonly) NSArray *> *polylinePoints; - - -@end diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationCommonObj.h b/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationCommonObj.h deleted file mode 100644 index 6b6ac44c..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationCommonObj.h +++ /dev/null @@ -1,202 +0,0 @@ -// -// AMapLocationCommonObj.h -// AMapLocationKit -// -// Created by AutoNavi on 15/10/22. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import -#import -#import - - -///AMapLocation errorDomain -extern NSString * const AMapLocationErrorDomain; - -///AMapLocation errorCode -typedef NS_ENUM(NSInteger, AMapLocationErrorCode) -{ - AMapLocationErrorUnknown = 1, ///<未知错误 - AMapLocationErrorLocateFailed = 2, ///<定位错误 - AMapLocationErrorReGeocodeFailed = 3, ///<逆地理错误 - AMapLocationErrorTimeOut = 4, ///<超时 - AMapLocationErrorCanceled = 5, ///<取消 - AMapLocationErrorCannotFindHost = 6, ///<找不到主机 - AMapLocationErrorBadURL = 7, /// - -///格式化地址 -@property (nonatomic, copy) NSString *formattedAddress; - -///国家 -@property (nonatomic, copy) NSString *country; - -///省/直辖市 -@property (nonatomic, copy) NSString *province; - -///市 -@property (nonatomic, copy) NSString *city; - -///区 -@property (nonatomic, copy) NSString *district; - -///乡镇 -@property (nonatomic, copy) NSString *township __attribute__((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取."))); - -///社区 -@property (nonatomic, copy) NSString *neighborhood __attribute__((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取."))); - -///建筑 -@property (nonatomic, copy) NSString *building __attribute__((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取."))); - -///城市编码 -@property (nonatomic, copy) NSString *citycode; - -///区域编码 -@property (nonatomic, copy) NSString *adcode; - -///街道名称 -@property (nonatomic, copy) NSString *street; - -///门牌号 -@property (nonatomic, copy) NSString *number; - -///兴趣点名称 -@property (nonatomic, copy) NSString *POIName; - -///所属兴趣点名称 -@property (nonatomic, copy) NSString *AOIName; - -@end - -#pragma mark - AMapLocationPoint - -///经纬度坐标点对象 -@interface AMapLocationPoint : NSObject - -///纬度 -@property (nonatomic, assign) CGFloat latitude; - -///经度 -@property (nonatomic, assign) CGFloat longitude; - -/** - * @brief AMapNaviPoint类对象的初始化函数 - * @param lat 纬度 - * @param lon 经度 - * @return AMapNaviPoint类对象id - */ -+ (AMapLocationPoint *)locationWithLatitude:(CGFloat)lat longitude:(CGFloat)lon; - -@end - -///POI信息 -@interface AMapLocationPOIItem : NSObject - -///id -@property (nonatomic, copy) NSString *pId; - -///名称 -@property (nonatomic, copy) NSString *name; - -///类型 -@property (nonatomic, copy) NSString *type; - -///类型编码 -@property (nonatomic, copy) NSString *typeCode; - -///地址信息 -@property (nonatomic, copy) NSString *address; - -///经纬度 -@property (nonatomic, strong) AMapLocationPoint *location; - -///电话号码 -@property (nonatomic, copy) NSString *tel; - -///省份 -@property (nonatomic, copy) NSString *province; - -///城市 -@property (nonatomic, copy) NSString *city; - -///区 -@property (nonatomic, copy) NSString *district; - -@end - -///行政区域信息 -@interface AMapLocationDistrictItem : NSObject - -///城市编码 -@property (nonatomic, copy) NSString *cityCode; - -///区域编码 -@property (nonatomic, copy) NSString *districtCode; - -///区名 -@property (nonatomic, copy) NSString *district; - -///行政区域轮廓坐标点,每个行政区可能有多个模块,每个模块的坐标点数组由AMapLocationPoint构成 -@property (nonatomic, copy) NSArray *> *polylinePoints; - -@end - -///AMapLocation CoordinateType -typedef NS_ENUM(NSUInteger, AMapLocationCoordinateType) -{ - AMapLocationCoordinateTypeBaidu = 0, /// - -#import -#import -#import - -#import -#import -#import diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationManager.h b/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationManager.h deleted file mode 100644 index d0197817..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationManager.h +++ /dev/null @@ -1,275 +0,0 @@ -// -// AMapLocationManager.h -// AMapLocationKit -// -// Created by AutoNavi on 15/10/22. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import -#import "AMapLocationCommonObj.h" -#import "AMapLocationRegionObj.h" - -/** - * @brief AMapLocatingCompletionBlock 单次定位返回Block - * @param location 定位信息 - * @param regeocode 逆地理信息 - * @param error 错误信息,参考 AMapLocationErrorCode - */ -typedef void (^AMapLocatingCompletionBlock)(CLLocation *location, AMapLocationReGeocode *regeocode, NSError *error); - -@protocol AMapLocationManagerDelegate; - -#pragma mark - AMapLocationManager - -///AMapLocationManager类。初始化之前请设置 AMapServices 中的apikey(例如:[AMapServices sharedServices].apiKey = @"您的key"),否则将无法正常使用服务. -@interface AMapLocationManager : NSObject - -///实现了 AMapLocationManagerDelegate 协议的类指针。 -@property (nonatomic, weak) id delegate; - -///设定定位的最小更新距离。单位米,默认为 kCLDistanceFilterNone,表示只要检测到设备位置发生变化就会更新位置信息。 -@property(nonatomic, assign) CLLocationDistance distanceFilter; - -///设定期望的定位精度。单位米,默认为 kCLLocationAccuracyBest。定位服务会尽可能去获取满足desiredAccuracy的定位结果,但不保证一定会得到满足期望的结果。 -///注意:设置为kCLLocationAccuracyBest或kCLLocationAccuracyBestForNavigation时,单次定位会在达到locationTimeout设定的时间后,将时间内获取到的最高精度的定位结果返回。 -///⚠️ 当iOS14及以上时,模糊定位权限下可能拿不到设置精度的经纬度 -@property(nonatomic, assign) CLLocationAccuracy desiredAccuracy; - -///指定定位是否会被系统自动暂停。默认为NO。 -@property(nonatomic, assign) BOOL pausesLocationUpdatesAutomatically; - -///是否允许后台定位。默认为NO。只在iOS 9.0及之后起作用。设置为YES的时候必须保证 Background Modes 中的 Location updates 处于选中状态,否则会抛出异常。由于iOS系统限制,需要在定位未开始之前或定位停止之后,修改该属性的值才会有效果。 -@property(nonatomic, assign) BOOL allowsBackgroundLocationUpdates; - -///指定单次定位超时时间,默认为10s。最小值是2s。注意单次定位请求前设置。注意: 单次定位超时时间从确定了定位权限(非kCLAuthorizationStatusNotDetermined状态)后开始计算。 -@property(nonatomic, assign) NSInteger locationTimeout; - -///指定单次定位逆地理超时时间,默认为5s。最小值是2s。注意单次定位请求前设置。 -@property(nonatomic, assign) NSInteger reGeocodeTimeout; - -///连续定位是否返回逆地理信息,默认NO。 -@property (nonatomic, assign) BOOL locatingWithReGeocode; - -///逆地址语言类型,默认是AMapLocationRegionLanguageDefault -@property (nonatomic, assign) AMapLocationReGeocodeLanguage reGeocodeLanguage; - -///获取被监控的region集合。 -@property (nonatomic, readonly, copy) NSSet *monitoredRegions; - -///检测是否存在虚拟定位风险,默认为NO,不检测。 \n注意:设置为YES时,单次定位通过 AMapLocatingCompletionBlock 的error给出虚拟定位风险提示;连续定位通过 amapLocationManager:didFailWithError: 方法的error给出虚拟定位风险提示。error格式为 error.domain==AMapLocationErrorDomain; error.code==AMapLocationErrorRiskOfFakeLocation; \n附带的error的详细信息参考 error.localizedDescription 中的描述以及 error.userInfo 中的信息(error.userInfo.AMapLocationRiskyLocateResult 表示有虚拟风险的定位结果; error.userInfo.AMapLocationAccessoryInfo 表示外接辅助设备信息)。 -@property (nonatomic, assign) BOOL detectRiskOfFakeLocation; - - -#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 - -/** - * @brief 设置预期定位精度权限模式,默认为CLAccuracyAuthorizationFullAccuracy精确模式。 - 注意:如果定位时未获得定位权限,则首先会调用申请定位权限API,实际定位精度权限取决于用户的权限设置,当前定位精度权限可通过currentAuthorization获取;如果定位时已获得定位模糊权限,该属性设置CLAccuracyAuthorizationFullAccuracy,则会触发回调amapLocationManager:doRequireTemporaryFullAccuracyAuth:completion:,需在该回调中实现调用申请临时精确定位权限API,如果用户选择拒绝,则可以在completion回调中设置ignoreAuthMatch控制是否要继续开启模糊定位;如果定位时已获得精确定位权限,则可通过desiredAccuracy参数设定期望的定位精度; - * @since 2.6.7 - */ -//@property (nonatomic, assign) CLAccuracyAuthorization desiredAccuracyMode API_AVAILABLE(ios(14.0)); - -/** - * @brief 设置定位数据回调精度模式,默认为AMapLocationAccuracyFullAndReduce。 - 注意:如果定位时未获得定位权限,则首先会调用申请定位权限API,实际定位精度权限取决于用户的权限设置。 - * ———————————————————————————————————————————————————————————————— - * | 设置选项 | doRequireTemporaryFullAccuracyAuth | 异常/定位数据回调 | - * | AMapLocationFullAndReduceAccuracy | 会触发申请临时精确定位回调 | 如果未获得精确定位权限,则依然开启定位,回调模糊定位 | - * | AMapLocationFullAccuracy | 会触发申请临时精确定位回调 | 如果未获得精确定位权限,则不开启定位,回调error | - * | AMapLocationReduceAccuracy | 不会触发申请临时精确定位回调 | 根据当前定位精度权限,回调定位数据 | - * ———————————————————————————————————————————————————————————————— - * 当设置AMapLocationFullAndReduceAccuracy时,定位数据回调可通过currentAuthorization判断当前是否是精确定位 - * @since 2.6.7 - */ -@property (nonatomic, assign) AMapLocationAccuracyMode locationAccuracyMode API_AVAILABLE(ios(14.0)); - -/** - * @brief 获取当前定位精度权限。注意:可能与setAccuracyAuthorizationMode设置不一致 - * @since 2.6.7 - */ -@property (nonatomic, readonly) CLAccuracyAuthorization currentAuthorization API_AVAILABLE(ios(14.0)); - -#endif - -/** - * @brief 设备是否支持方向识别 - * @return YES:设备支持方向识别 ; NO:设备不支持支持方向识别 - */ -+ (BOOL)headingAvailable; - -/** - * @brief 开始获取设备朝向,如果设备支持方向识别,则会通过代理回调方法 - */ -- (void)startUpdatingHeading; - -/** - * @brief 停止获取设备朝向 - */ -- (void)stopUpdatingHeading; - -/** - * @brief 停止设备朝向校准显示 - */ -- (void)dismissHeadingCalibrationDisplay; - -/** - * @brief 单次定位。如果当前正在连续定位,调用此方法将会失败,返回NO。\n该方法将会根据设定的 desiredAccuracy 去获取定位信息。如果获取的定位信息精确度低于 desiredAccuracy ,将会持续的等待定位信息,直到超时后通过completionBlock返回精度最高的定位信息。\n可以通过 stopUpdatingLocation 方法去取消正在进行的单次定位请求。 - * @param withReGeocode 是否带有逆地理信息(获取逆地理信息需要联网) - * @param completionBlock 单次定位完成后的Block - * @return 是否成功添加单次定位Request - */ -- (BOOL)requestLocationWithReGeocode:(BOOL)withReGeocode completionBlock:(AMapLocatingCompletionBlock)completionBlock; - -/** - * @brief 开始连续定位。调用此方法会cancel掉所有的单次定位请求。 - */ -- (void)startUpdatingLocation; - -/** - * @brief 停止连续定位。调用此方法会cancel掉所有的单次定位请求,可以用来取消单次定位。 - */ -- (void)stopUpdatingLocation; - -/** - * @brief 开始监控指定的region。如果已经存在相同identifier的region,则之前的region将会被移除。对 AMapLocationCircleRegion 类实例,将会优先监控radius小的region。 - * @param region 要被监控的范围 - */ -- (void)startMonitoringForRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -/** - * @brief 停止监控指定的region - * @param region 要停止监控的范围 - */ -- (void)stopMonitoringForRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -/** - * @brief 查询一个region的当前状态。查询结果通过amapLocationManager:didDetermineState:forRegion:回调返回 - * @param region 要查询的region - */ -- (void)requestStateForRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -@end - -#pragma mark - AMapLocationManagerDelegate - -///AMapLocationManagerDelegate 协议定义了发生错误时的错误回调方法,连续定位的回调方法等。 -@protocol AMapLocationManagerDelegate - -@optional - -#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 - -/** - * @brief 当plist配置NSLocationTemporaryUsageDescriptionDictionary且desiredAccuracyMode设置CLAccuracyAuthorizationFullAccuracy精确定位模式时,如果用户只授权模糊定位,会调用代理的此方法。此方法实现调用申请临时精确定位权限API即可: - * [manager requestTemporaryFullAccuracyAuthorizationWithPurposeKey:@"PurposeKey" completion:^(NSError *error){ - * if(completion){ - * completion(error); - * } - * }]; (必须调用,不然无法正常获取临时精确定位权限) - * @param manager 定位 AMapLocationManager 类。 - * @param locationManager 需要申请临时精确定位权限的locationManager。 - * @param completion 临时精确定位权限API回调结果,error: 直接返回系统error即可。 - * @since 2.6.7 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager doRequireTemporaryFullAccuracyAuth:(CLLocationManager*)locationManager completion:(void(^)(NSError *error))completion; - -#endif - -/** - * @brief 当plist配置NSLocationAlwaysUsageDescription或者NSLocationAlwaysAndWhenInUseUsageDescription,并且[CLLocationManager authorizationStatus] == kCLAuthorizationStatusNotDetermined,会调用代理的此方法。 - 此方法实现调用申请后台权限API即可:[locationManager requestAlwaysAuthorization] (必须调用,不然无法正常获取定位权限) - * @param manager 定位 AMapLocationManager 类。 - * @param locationManager 需要申请后台定位权限的locationManager。 - * @since 2.6.2 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager doRequireLocationAuth:(CLLocationManager*)locationManager; - -/** - * @brief 当定位发生错误时,会调用代理的此方法。 - * @param manager 定位 AMapLocationManager 类。 - * @param error 返回的错误,参考 CLError 。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didFailWithError:(NSError *)error; - -/** - * @brief 连续定位回调函数.注意:本方法已被废弃,如果实现了amapLocationManager:didUpdateLocation:reGeocode:方法,则本方法将不会回调。 - * @param manager 定位 AMapLocationManager 类。 - * @param location 定位结果。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didUpdateLocation:(CLLocation *)location; - -/** - * @brief 连续定位回调函数.注意:如果实现了本方法,则定位信息不会通过amapLocationManager:didUpdateLocation:方法回调。 - * @param manager 定位 AMapLocationManager 类。 - * @param location 定位结果。 - * @param reGeocode 逆地理信息。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didUpdateLocation:(CLLocation *)location reGeocode:(AMapLocationReGeocode *)reGeocode; - -/** - * @brief 定位权限状态改变时回调函数。注意:iOS13及之前版本回调 - * @param manager 定位 AMapLocationManager 类。 - * @param status 定位权限状态。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status; - -/** - * @brief 定位权限状态改变时回调函数。注意:iOS14及之后版本回调 - * @param manager 定位 AMapLocationManager 类。 - * @param locationManager 定位CLLocationManager类,可通过locationManager.authorizationStatus获取定位权限,通过locationManager.accuracyAuthorization获取定位精度权限 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager locationManagerDidChangeAuthorization:(CLLocationManager*)locationManager; - -/** - * @brief 是否显示设备朝向校准 - * @param manager 定位 AMapLocationManager 类。 - * @return 是否显示设备朝向校准 - */ -- (BOOL)amapLocationManagerShouldDisplayHeadingCalibration:(AMapLocationManager *)manager; - -/** - * @brief 设备方向改变时回调函数 - * @param manager 定位 AMapLocationManager 类。 - * @param newHeading 设备朝向。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading; - -/** - * @brief 开始监控region回调函数 - * @param manager 定位 AMapLocationManager 类。 - * @param region 开始监控的region。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didStartMonitoringForRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -/** - * @brief 进入region回调函数 - * @param manager 定位 AMapLocationManager 类。 - * @param region 进入的region。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didEnterRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -/** - * @brief 离开region回调函数 - * @param manager 定位 AMapLocationManager 类。 - * @param region 离开的region。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didExitRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -/** - * @brief 查询region状态回调函数 - * @param manager 定位 AMapLocationManager 类。 - * @param state 查询的region的状态。 - * @param region 查询的region。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager didDetermineState:(AMapLocationRegionState)state forRegion:(AMapLocationRegion *)region __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -/** - * @brief 监控region失败回调函数 - * @param manager 定位 AMapLocationManager 类。 - * @param region 失败的region。 - * @param error 错误信息,参考 AMapLocationErrorCode 。 - */ -- (void)amapLocationManager:(AMapLocationManager *)manager monitoringDidFailForRegion:(AMapLocationRegion *)region withError:(NSError *)error __attribute__((deprecated("请使用AMapGeoFenceManager"))); - -@end diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationRegionObj.h b/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationRegionObj.h deleted file mode 100644 index ed74aada..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationRegionObj.h +++ /dev/null @@ -1,90 +0,0 @@ -// -// AMapLocationRegionObj.h -// AMapLocationKit -// -// Created by AutoNavi on 15/11/27. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import "AMapLocationCommonObj.h" - -// 以下类涉及的坐标需要使用高德坐标系坐标(GCJ02) - -#pragma mark - AMapLocationRegion - - -///AMapLocationRegion类,该类提供范围类的基本信息,并无具体实现,不要直接使用。 -@interface AMapLocationRegion : NSObject - -///AMapLocationRegion的identifier -@property (nonatomic, copy, readonly) NSString *identifier; - -///当进入region范围时是否通知,默认YES -@property (nonatomic, assign) BOOL notifyOnEntry; - -///当离开region范围时是否通知,默认YES -@property (nonatomic, assign) BOOL notifyOnExit; - -/** - * @brief 初始化方法 - * @param identifier 唯一标识符,必填,不可为nil - */ -- (instancetype)initWithIdentifier:(NSString *)identifier; - -/** - * @brief 坐标点是否在范围内 - * @param coordinate 要判断的坐标点 - * @return 是否在范围内 - */ -- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate; - -@end - -#pragma mark - AMapLocationCircleRegion - - -///AMapLocationCircleRegion类,定义一个圆形范围。 -@interface AMapLocationCircleRegion : AMapLocationRegion - -///中心点的经纬度坐标 -@property (nonatomic, readonly) CLLocationCoordinate2D center; - -///半径,单位:米 -@property (nonatomic, readonly) CLLocationDistance radius; - -/** - * @brief 根据中心点和半径生成圆形范围 - * @param center 中心点的经纬度坐标 - * @param radius 半径,单位:米 - * @param identifier 唯一标识符,必填,不可为nil - * @return AMapLocationCircleRegion类实例 - */ -- (instancetype)initWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier; - - -@end - -#pragma mark - AMapLocationPolygonRegion - - -///AMapLocationCircleRegion类,定义一个闭合多边形范围,点与点之间按顺序尾部相连, 第一个点与最后一个点相连。 -@interface AMapLocationPolygonRegion : AMapLocationRegion - -///经纬度坐标点数据 -@property (nonatomic, readonly) CLLocationCoordinate2D *coordinates; - -///经纬度坐标点的个数 -@property (nonatomic, readonly) NSInteger count; - -/** - * @brief 根据经纬度坐标数据生成闭合多边形范围 - * @param coordinates 经纬度坐标点数据,coordinates对应的内存会拷贝,调用者负责该内存的释放 - * @param count 经纬度坐标点的个数,不可小于3个 - * @param identifier 唯一标识符,必填,不可为nil - * @return AMapLocationCircleRegion类实例 - */ -- (instancetype)initWithCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSInteger)count identifier:(NSString *)identifier; - - - -@end diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationVersion.h b/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationVersion.h deleted file mode 100644 index 651160ec..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Headers/AMapLocationVersion.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// AMapLoctionVersion.h -// AMapLocationKit -// -// Created by AutoNavi on 16/1/22. -// Copyright © 2016年 Amap. All rights reserved. -// - -#import -#import - -#ifndef AMapLoctionVersion_h -#define AMapLoctionVersion_h - -#define AMapLocationVersionNumber 20607 -#define AMapLocationFoundationVersionMinRequired 10604 - -// 依赖库版本检测 -#if AMapFoundationVersionNumber < AMapLocationFoundationVersionMinRequired -#error "The AMapFoundationKit version is less than minimum required, please update! Any questions please to visit http://lbs.amap.com" -#endif - -FOUNDATION_EXTERN NSString * const AMapLocationVersion; -FOUNDATION_EXTERN NSString * const AMapLocationName; - -#endif /* AMapLoctionVersion_h */ diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Modules/module.modulemap b/ios/UniMPSDK/Libs/AMapLocationKit.framework/Modules/module.modulemap deleted file mode 100644 index 6a1a5869..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AMapLocationKit { - umbrella header "AMapLocationKit.h" - - export * - module * { export * } -} diff --git a/ios/UniMPSDK/Libs/AMapLocationKit.framework/version.txt b/ios/UniMPSDK/Libs/AMapLocationKit.framework/version.txt deleted file mode 100644 index c8e96ed9..00000000 --- a/ios/UniMPSDK/Libs/AMapLocationKit.framework/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.6.7+loc.ec398d6 diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/AMapSearchKit b/ios/UniMPSDK/Libs/AMapSearchKit.framework/AMapSearchKit deleted file mode 100644 index a8c53eeb..00000000 Binary files a/ios/UniMPSDK/Libs/AMapSearchKit.framework/AMapSearchKit and /dev/null differ diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapCommonObj.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapCommonObj.h deleted file mode 100644 index c272a191..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapCommonObj.h +++ /dev/null @@ -1,864 +0,0 @@ -// -// AMapCommonObj.h -// AMapSearchKit -// -// Created by xiaoming han on 15/7/22. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -/* 该文件定义了搜索结果的基础数据类型。*/ - -#import -#import - -#pragma mark - AMapSearchObject - -///搜索SDK基础类, 通用数据结构和response支持copy和coding(since 4.4.1)。 -@interface AMapSearchObject : NSObject - -/** - * @brief 返回格式化的描述信息。通用数据结构和response类型有效。 - */ -- (NSString *)formattedDescription; - -@end - -#pragma mark - 通用数据结构 - -///经纬度, description中格式为 <经度,纬度> -@interface AMapGeoPoint : AMapSearchObject -///纬度(垂直方向) -@property (nonatomic, assign) CGFloat latitude; -///经度(水平方向) -@property (nonatomic, assign) CGFloat longitude; - -/** - * @brief 实例化一个AMapGeoPoint对象 - * @param lat 纬度 - * @param lon 经度 - */ -+ (AMapGeoPoint *)locationWithLatitude:(CGFloat)lat longitude:(CGFloat)lon; -@end - -///多边形, 当传入两个点的时候,当做矩形处理:左下-右上两个顶点;其他情况视为多边形,几个点即为几边型。 -@interface AMapGeoPolygon : AMapSearchObject -///坐标集, AMapGeoPoint 数组 -@property (nonatomic, strong) NSArray *points; - -/** - * @brief 实例化一个多边形对象 - * @param points 坐标集, AMapGeoPoint 数组 - */ -+ (AMapGeoPolygon *)polygonWithPoints:(NSArray *)points; -@end - -@class AMapDistrict; -///城市 -@interface AMapCity : AMapSearchObject -///城市名称 -@property (nonatomic, copy) NSString *city; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///城市区域编码 -@property (nonatomic, copy) NSString *adcode; -///此区域的建议结果数目, AMapSuggestion 中使用 -@property (nonatomic, assign) NSInteger num; -///途径区域 AMapDistrict 数组,AMepStep中使用,只有name和adcode。 -@property (nonatomic, strong) NSArray *districts; -@end - -///建议信息 -@interface AMapSuggestion : AMapSearchObject -///NSString 数组 -@property (nonatomic, strong) NSArray *keywords; -///AMapCity 数组 -@property (nonatomic, strong) NSArray *cities; -@end - -#pragma mark - 输入提示 - -///输入提示 -@interface AMapTip : AMapSearchObject -///poi的id -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///所属区域 -@property (nonatomic, copy) NSString *district; -///地址 -@property (nonatomic, copy) NSString *address; -///位置 -@property (nonatomic, copy) AMapGeoPoint *location; -///类型码, since 4.5.0. 对应描述可下载参考官网文档 http://a.amap.com/lbs/static/zip/AMap_API_Table.zip。 -@property (nonatomic, copy) NSString *typecode; -@end - -#pragma mark - POI - -///POI图片信息 -@interface AMapImage : AMapSearchObject -///标题 -@property (nonatomic, copy) NSString *title; -///url -@property (nonatomic, copy) NSString *url; -@end - -///POI扩展信息 -@interface AMapPOIExtension : AMapSearchObject -///评分 -@property (nonatomic, assign) CGFloat rating; -///人均消费 -@property (nonatomic, assign) CGFloat cost; -///营业时间 -@property (nonatomic, copy) NSString *openTime; -@end - -///POI室内地图信息 -@interface AMapIndoorData : AMapSearchObject -///楼层,为0时为POI本身 -@property (nonatomic, assign) NSInteger floor; -///楼层名称 -@property (nonatomic, copy) NSString *floorName; -///建筑物ID -@property (nonatomic, copy) NSString *pid; -@end - -///子POI -@interface AMapSubPOI : AMapSearchObject -///POI全局唯一ID -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///名称简写 -@property (nonatomic, copy) NSString *sname; -///经纬度 -@property (nonatomic, copy) AMapGeoPoint *location; -///地址 -@property (nonatomic, copy) NSString *address; -///距中心点距离 -@property (nonatomic, assign) NSInteger distance; -///子POI类型 -@property (nonatomic, copy) NSString *subtype; -@end - -///沿途POI -@interface AMapRoutePOI : AMapSearchObject -///POI全局唯一ID -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///经纬度 -@property (nonatomic, copy) AMapGeoPoint *location; -///用户起点经过途经点再到终点的距离,单位是米 -@property (nonatomic, assign) NSInteger distance; -///用户起点经过途经点再到终点的时间,单位为秒 -@property (nonatomic, assign) NSInteger duration; -@end - -///POI -@interface AMapPOI : AMapSearchObject -///POI全局唯一ID -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///兴趣点类型 -@property (nonatomic, copy) NSString *type; -///类型编码 -@property (nonatomic, copy) NSString *typecode; -///经纬度 -@property (nonatomic, copy) AMapGeoPoint *location; -///地址 -@property (nonatomic, copy) NSString *address; -///电话 -@property (nonatomic, copy) NSString *tel; -///距中心点的距离,单位米。在周边搜索时有效 -@property (nonatomic, assign) NSInteger distance; -///停车场类型,地上、地下、路边 -@property (nonatomic, copy) NSString *parkingType; -///商铺id -@property (nonatomic, copy) NSString *shopID; - -///邮编 -@property (nonatomic, copy) NSString *postcode; -///网址 -@property (nonatomic, copy) NSString *website; -///电子邮件 -@property (nonatomic, copy) NSString *email; -///省 -@property (nonatomic, copy) NSString *province; -///省编码 -@property (nonatomic, copy) NSString *pcode; -///城市名称 -@property (nonatomic, copy) NSString *city; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///区域名称 -@property (nonatomic, copy) NSString *district; -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///地理格ID -@property (nonatomic, copy) NSString *gridcode; -///入口经纬度 -@property (nonatomic, copy) AMapGeoPoint *enterLocation; -///出口经纬度 -@property (nonatomic, copy) AMapGeoPoint *exitLocation; -///方向 -@property (nonatomic, copy) NSString *direction; -///是否有室内地图 -@property (nonatomic, assign) BOOL hasIndoorMap; -///所在商圈 -@property (nonatomic, copy) NSString *businessArea; -///室内信息 -@property (nonatomic, strong) AMapIndoorData *indoorData; -///子POI列表 -@property (nonatomic, strong) NSArray *subPOIs; -///图片列表 -@property (nonatomic, strong) NSArray *images; - -///扩展信息只有在ID查询时有效 -@property (nonatomic, strong) AMapPOIExtension *extensionInfo; -@end - -#pragma mark - 逆地理编码 && 地理编码 - -///兴趣区域 -@interface AMapAOI : AMapSearchObject -///AOI全局唯一ID -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///所在区域编码 -@property (nonatomic, copy) NSString *adcode; -///中心点经纬度 -@property (nonatomic, copy) AMapGeoPoint *location; -///面积,单位平方米 -@property (nonatomic, assign) CGFloat area; -@end - -///道路 -@interface AMapRoad : AMapSearchObject -///道路ID -@property (nonatomic, copy) NSString *uid; -///道路名称 -@property (nonatomic, copy) NSString *name; -///距离(单位:米) -@property (nonatomic, assign) NSInteger distance; -///方向 -@property (nonatomic, copy) NSString *direction; -///坐标点 -@property (nonatomic, copy) AMapGeoPoint *location; -@end - -///道路交叉口 -@interface AMapRoadInter : AMapSearchObject -///距离(单位:米) -@property (nonatomic, assign) NSInteger distance; -///方向 -@property (nonatomic, copy) NSString *direction; -///经纬度 -@property (nonatomic, copy) AMapGeoPoint *location; -///第一条道路ID -@property (nonatomic, copy) NSString *firstId; -///第一条道路名称 -@property (nonatomic, copy) NSString *firstName; -///第二条道路ID -@property (nonatomic, copy) NSString *secondId; -///第二条道路名称 -@property (nonatomic, copy) NSString *secondName; -@end - -///门牌信息 -@interface AMapStreetNumber : AMapSearchObject -///街道名称 -@property (nonatomic, copy) NSString *street; -///门牌号 -@property (nonatomic, copy) NSString *number; -///坐标点 -@property (nonatomic, copy) AMapGeoPoint *location; -///距离(单位:米) -@property (nonatomic, assign) NSInteger distance; -///方向 -@property (nonatomic, copy) NSString *direction; -@end - -///商圈 -@interface AMapBusinessArea : AMapSearchObject -///名称 -@property (nonatomic, strong) NSString *name; -///中心坐标 -@property (nonatomic, copy) AMapGeoPoint *location; -@end - -///地址组成要素 -@interface AMapAddressComponent : AMapSearchObject -///国家(since 5.7.0) -@property (nonatomic, copy) NSString *country; -///国家简码(since 7.4.0)仅海外生效 -@property (nonatomic, copy) NSString *countryCode; -///省/直辖市 -@property (nonatomic, copy) NSString *province; -///市 -@property (nonatomic, copy) NSString *city; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///区 -@property (nonatomic, copy) NSString *district; -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///乡镇街道 -@property (nonatomic, copy) NSString *township; -///乡镇街道编码 -@property (nonatomic, copy) NSString *towncode; -///社区 -@property (nonatomic, copy) NSString *neighborhood; -///建筑 -@property (nonatomic, copy) NSString *building; -///门牌信息 -@property (nonatomic, strong) AMapStreetNumber *streetNumber; -///商圈列表 AMapBusinessArea 数组 -@property (nonatomic, strong) NSArray *businessAreas; -@end - -///逆地理编码 -@interface AMapReGeocode : AMapSearchObject -///格式化地址 -@property (nonatomic, copy) NSString *formattedAddress; -///地址组成要素 -@property (nonatomic, strong) AMapAddressComponent *addressComponent; - -///道路信息 AMapRoad 数组 -@property (nonatomic, strong) NSArray *roads; -///道路路口信息 AMapRoadInter 数组 -@property (nonatomic, strong) NSArray *roadinters; -///兴趣点信息 AMapPOI 数组 -@property (nonatomic, strong) NSArray *pois; -///兴趣区域信息 AMapAOI 数组 -@property (nonatomic, strong) NSArray *aois; -@end - -///地理编码 -@interface AMapGeocode : AMapSearchObject -///格式化地址 -@property (nonatomic, copy) NSString *formattedAddress; -///所在省/直辖市 -@property (nonatomic, copy) NSString *province; -///城市名 -@property (nonatomic, copy) NSString *city; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///区域名称 -@property (nonatomic, copy) NSString *district; -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///乡镇街道 -@property (nonatomic, copy) NSString *township; -///社区 -@property (nonatomic, copy) NSString *neighborhood; -///楼 -@property (nonatomic, copy) NSString *building; -///坐标点 -@property (nonatomic, copy) AMapGeoPoint *location; -///匹配的等级 -@property (nonatomic, copy) NSString *level; -///国家(since 7.4.0)仅海外生效 -@property (nonatomic, copy) NSString *country; -///国家简码(since 7.4.0)仅海外生效 -@property (nonatomic, copy) NSString *postcode; -@end - -#pragma mark - 公交查询 -@class AMapBusLine; - -///公交站 -@interface AMapBusStop : AMapSearchObject -///公交站点ID -@property (nonatomic, copy) NSString *uid; -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///公交站名 -@property (nonatomic, copy) NSString *name; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///经纬度坐标 -@property (nonatomic, copy) AMapGeoPoint *location; -///途径此站的公交路线 AMapBusLine 数组 -@property (nonatomic, strong) NSArray *buslines; -///查询公交线路时的第几站 -@property (nonatomic, copy) NSString *sequence; -@end - -///公交线路 -@interface AMapBusLine : AMapSearchObject -///公交线路ID -@property (nonatomic, copy) NSString *uid; -///公交类型 -@property (nonatomic, copy) NSString *type; -///公交线路名称 -@property (nonatomic, copy) NSString *name; -///坐标集合 -@property (nonatomic, copy) NSString *polyline; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///首发站 -@property (nonatomic, copy) NSString *startStop; -///终点站 -@property (nonatomic, copy) NSString *endStop; -///当查询公交站点时,返回的 AMapBusLine 中含有该字段 -@property (nonatomic, copy) AMapGeoPoint *location; - -///首班车时间 -@property (nonatomic, copy) NSString *startTime; -///末班车时间 -@property (nonatomic, copy) NSString *endTime; -///所属公交公司 -@property (nonatomic, copy) NSString *company; -///距离。在公交线路查询时,该值为此线路的全程距离,单位为千米; 在公交路径规划时,该值为乘坐此路公交车的行驶距离,单位为米 -@property (nonatomic, assign) CGFloat distance; -///起步价 -@property (nonatomic, assign) CGFloat basicPrice; -///全程票价 -@property (nonatomic, assign) CGFloat totalPrice; -///矩形区域左下、右上顶点坐标 -@property (nonatomic, copy) AMapGeoPolygon *bounds; -///本线路公交站 AMapBusStop 数组 -@property (nonatomic, strong) NSArray *busStops; - -///起程站 -@property (nonatomic, strong) AMapBusStop *departureStop; -///下车站 -@property (nonatomic, strong) AMapBusStop *arrivalStop; -///途径公交站 AMapBusStop 数组 -@property (nonatomic, strong) NSArray *viaBusStops; -///预计行驶时间(单位:秒) -@property (nonatomic, assign) NSInteger duration; -@end - -#pragma mark - 行政区划 -///行政区划 -@interface AMapDistrict : AMapSearchObject -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///城市编码 -@property (nonatomic, copy) NSString *citycode; -///行政区名称 -@property (nonatomic, copy) NSString *name; -///级别 -@property (nonatomic, copy) NSString *level; -///城市中心点 -@property (nonatomic, copy) AMapGeoPoint *center; -///下级行政区域数组 -@property (nonatomic, strong) NSArray *districts; -///行政区边界坐标点, NSString 数组 -@property (nonatomic, strong) NSArray *polylines; -@end - -#pragma mark - 路径规划 - -///实时路况信息 -@interface AMapTMC : AMapSearchObject -///长度(单位:米) -@property (nonatomic, assign) NSInteger distance; -///路况状态描述:0 未知,1 畅通,2 缓行,3 拥堵,4 严重拥堵 -@property (nonatomic, copy) NSString *status; -///此路段坐标点串 -@property (nonatomic, copy) NSString *polyline; -@end - -///路段基本信息 -@interface AMapStep : AMapSearchObject -///行走指示 -@property (nonatomic, copy) NSString *instruction; -///方向 -@property (nonatomic, copy) NSString *orientation; -///道路名称 -@property (nonatomic, copy) NSString *road; -///此路段长度(单位:米) -@property (nonatomic, assign) NSInteger distance; -///此路段预计耗时(单位:秒) -@property (nonatomic, assign) NSInteger duration; -///此路段坐标点串 -@property (nonatomic, copy) NSString *polyline; -///导航主要动作 -@property (nonatomic, copy) NSString *action; -///导航辅助动作 -@property (nonatomic, copy) NSString *assistantAction; -///此段收费(单位:元) -@property (nonatomic, assign) CGFloat tolls; -///收费路段长度(单位:米) -@property (nonatomic, assign) NSInteger tollDistance; -///主要收费路段 -@property (nonatomic, copy) NSString *tollRoad; - -///途径城市 AMapCity 数组,只有驾车路径规划时有效 -@property (nonatomic, strong) NSArray *cities; -///路况信息数组,只有驾车路径规划时有效 -@property (nonatomic, strong) NSArray *tmcs; -@end - -///步行、骑行、驾车方案 -@interface AMapPath : AMapSearchObject -///起点和终点的距离 -@property (nonatomic, assign) NSInteger distance; -///预计耗时(单位:秒) -@property (nonatomic, assign) NSInteger duration; -///导航策略 -@property (nonatomic, copy) NSString *strategy; -///导航路段 AMapStep 数组 -@property (nonatomic, strong) NSArray *steps; -///此方案费用(单位:元) -@property (nonatomic, assign) CGFloat tolls; -///此方案收费路段长度(单位:米) -@property (nonatomic, assign) NSInteger tollDistance; -///此方案交通信号灯个数 -@property (nonatomic, assign) NSInteger totalTrafficLights; - -/** - 限行信息,仅在驾车和货车路径规划时有效。(since 6.0.0) - 驾车路径规划时: - 0 代表限行已规避或未限行; 1 代表限行无法规避。 - 货车路径规划时: - 0,未知(未输入完整/正确车牌号信息时候显示) - 1,已规避限行 - 2,起点限行 - 3,途径点在限行区域内(设置途径点才出现此报错) - 4,途径限行区域 - 5,终点限行 - */ -@property (nonatomic, assign) NSInteger restriction; -///规划路径完整坐标点串集合(since 7.4.0) -@property (nonatomic, copy) NSString *polyline; - -@end - -@interface AMapFutureTimeInfoElement : AMapSearchObject - -///总时长(分钟) -@property (nonatomic, assign) NSInteger duration; -///对应的路径规划方案中的路线 -@property (nonatomic, assign) NSInteger pathindex; -/** - 0:代表限行已规避或未限行,即该路线没有限行路段 - 1:代表限行无法规避,即该线路有限行路段 - */ -@property (nonatomic, assign) NSInteger restriction; -///路况信息数组,只会返回AMapTMC中的status、polyline -@property (nonatomic, strong) NSArray *tmcs; - -@end - -@interface AMapFutureTimeInfo : AMapSearchObject - -///出发时间 -@property (nonatomic, copy) NSString *startTime; -///路线列表 AMapFutureTimeInfoElement 数组 -@property (nonatomic, strong) NSArray *elements; -@end - -///步行换乘信息 -@interface AMapWalking : AMapSearchObject -///起点坐标 -@property (nonatomic, copy) AMapGeoPoint *origin; -///终点坐标 -@property (nonatomic, copy) AMapGeoPoint *destination; -///起点和终点的步行距离 -@property (nonatomic, assign) NSInteger distance; -///步行预计时间 -@property (nonatomic, assign) NSInteger duration; -///步行路段 AMapStep 数组 -@property (nonatomic, strong) NSArray *steps; -@end - -///出租车信息 -@interface AMapTaxi : AMapSearchObject -///起点坐标 -@property (nonatomic, copy) AMapGeoPoint *origin; -///终点坐标 -@property (nonatomic, copy) AMapGeoPoint *destination; -///距离,单位米 -@property (nonatomic, assign) NSInteger distance; -///耗时,单位秒 -@property (nonatomic, assign) NSInteger duration; -///起点名称 -@property (nonatomic, copy) NSString *sname; -///终点名称 -@property (nonatomic, copy) NSString *tname; -@end - -///火车站 -@interface AMapRailwayStation : AMapSearchObject -///火车站ID -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///经纬度坐标 -@property (nonatomic, copy) AMapGeoPoint *location; -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///发车、到站时间,途径站时则为进站时间 -@property (nonatomic, copy) NSString *time; -///途径站点的停靠时间,单位为分钟 -@property (nonatomic, assign) NSInteger wait; -///是否是始发站,为出发站时有效 -@property (nonatomic, assign) BOOL isStart; -///是否是终点站,为到达站时有效 -@property (nonatomic, assign) BOOL isEnd; -@end - -///火车仓位及价格信息 -@interface AMapRailwaySpace : AMapSearchObject -///类型,硬卧、硬座等 -@property (nonatomic, copy) NSString *code; -///票价,单位元 -@property (nonatomic, assign) CGFloat cost; -@end - -///火车信息 -@interface AMapRailway : AMapSearchObject -///火车线路ID -@property (nonatomic, copy) NSString *uid; -///名称 -@property (nonatomic, copy) NSString *name; -///车次 -@property (nonatomic, copy) NSString *trip; -///类型 -@property (nonatomic, copy) NSString *type; -///该换乘段行车总距离,单位为米 -@property (nonatomic, assign) NSInteger distance; -///该线路车段耗时,单位为秒 -@property (nonatomic, assign) NSInteger time; -///出发站 -@property (nonatomic, strong) AMapRailwayStation *departureStation; -///到达站 -@property (nonatomic, strong) AMapRailwayStation *arrivalStation; -///仓位及价格信息 -@property (nonatomic, strong) NSArray *spaces; - -///途径站点信息 -@property (nonatomic, strong) NSArray *viaStops; -///备选路线信息, 目前只有id和name -@property (nonatomic, strong) NSArray *alters; -@end - - -///公交换乘路段,如果walking和buslines同时有值,则是先walking后buslines -@interface AMapSegment : AMapSearchObject -///此路段步行导航信息 -@property (nonatomic, strong) AMapWalking *walking; -///此路段可供选择的不同公交线路 AMapBusLine 数组 -@property (nonatomic, strong) NSArray *buslines; -///出租车信息,跨城时有效 -@property (nonatomic, strong) AMapTaxi *taxi; -///火车信息,跨城时有效 -@property (nonatomic, strong) AMapRailway *railway; -///入口名称 -@property (nonatomic, copy) NSString *enterName; -///入口经纬度 -@property (nonatomic, copy) AMapGeoPoint *enterLocation; -///出口名称 -@property (nonatomic, copy) NSString *exitName; -///出口经纬度 -@property (nonatomic, copy) AMapGeoPoint *exitLocation; -@end - -///公交方案 -@interface AMapTransit : AMapSearchObject -///此公交方案价格(单位:元) -@property (nonatomic, assign) CGFloat cost; -///此换乘方案预期时间(单位:秒) -@property (nonatomic, assign) NSInteger duration; -///是否是夜班车 -@property (nonatomic, assign) BOOL nightflag; -///此方案总步行距离(单位:米) -@property (nonatomic, assign) NSInteger walkingDistance; -///换乘路段 AMapSegment 数组 -@property (nonatomic, strong) NSArray *segments; -///当前方案的总距离 -@property (nonatomic, assign) NSInteger distance; -@end - -///路径规划信息 -@interface AMapRoute : AMapSearchObject -///起点坐标 -@property (nonatomic, copy) AMapGeoPoint *origin; -///终点坐标 -@property (nonatomic, copy) AMapGeoPoint *destination; -///出租车费用(单位:元) -@property (nonatomic, assign) CGFloat taxiCost; -///步行、骑行、驾车方案列表 AMapPath 数组 -@property (nonatomic, strong) NSArray *paths; -///公交换乘方案列表 AMapTransit 数组 -@property (nonatomic, strong) NSArray *transits; -@end - -///距离测量结果 -@interface AMapDistanceResult : AMapSearchObject -///起点坐标,起点坐标序列号(从1开始) -@property (nonatomic, assign) NSInteger originID; -///终点坐标,终点坐标序列号(从1开始) -@property (nonatomic, assign) NSInteger destID; -///路径距离,单位:米 -@property (nonatomic, assign) NSInteger distance; -///预计行驶时间,单位:秒 -@property (nonatomic, assign) NSInteger duration; -///错误信息,建议用此字段判断请求是否成功 -@property (nonatomic, copy) NSString *info; -///在驾车模式下有效。默认为0;1:指定地点之间没有可以行车的道路;2:起点/终点 距离所有道路均距离过远(例如在海洋/矿业);3;起点/终点不在中国境内; -@property (nonatomic, assign) NSInteger code; -@end - -#pragma mark - 天气查询 - -///实况天气,仅支持中国部分地区数据(台湾省目前没有数据)返回 -@interface AMapLocalWeatherLive : AMapSearchObject -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///省份名 -@property (nonatomic, copy) NSString *province; -///城市名 -@property (nonatomic, copy) NSString *city; -///天气现象 -@property (nonatomic, copy) NSString *weather; -///实时温度 -@property (nonatomic, copy) NSString *temperature; -///风向 -@property (nonatomic, copy) NSString *windDirection; -///风力,单位:级 -@property (nonatomic, copy) NSString *windPower; -///空气湿度 -@property (nonatomic, copy) NSString *humidity; -///数据发布时间 -@property (nonatomic, copy) NSString *reportTime; -@end - -///某一天的天气预报信息 -@interface AMapLocalDayWeatherForecast : AMapSearchObject -///日期 -@property (nonatomic, copy) NSString *date; -///星期 -@property (nonatomic, copy) NSString *week; -///白天天气现象 -@property (nonatomic, copy) NSString *dayWeather; -///晚上天气现象 -@property (nonatomic, copy) NSString *nightWeather; -///白天温度 -@property (nonatomic, copy) NSString *dayTemp; -///晚上温度 -@property (nonatomic, copy) NSString *nightTemp; -///白天风向 -@property (nonatomic, copy) NSString *dayWind; -///晚上风向 -@property (nonatomic, copy) NSString *nightWind; -///白天风力 -@property (nonatomic, copy) NSString *dayPower; -///晚上风力 -@property (nonatomic, copy) NSString *nightPower; -@end - -///天气预报类,支持当前时间在内的3天的天气进行预报 -@interface AMapLocalWeatherForecast : AMapSearchObject -///区域编码 -@property (nonatomic, copy) NSString *adcode; -///省份名 -@property (nonatomic, copy) NSString *province; -///城市名 -@property (nonatomic, copy) NSString *city; -///数据发布时间 -@property (nonatomic, copy) NSString *reportTime; -///天气预报AMapLocalDayWeatherForecast数组 -@property (nonatomic, strong) NSArray *casts; -@end - -#pragma mark - 附近搜索 -///附近搜索返回的用户信息 -@interface AMapNearbyUserInfo : AMapSearchObject -///用户ID -@property (nonatomic, copy) NSString *userID; -///最后更新位置 -@property (nonatomic, copy) AMapGeoPoint *location; -///与搜索点的距离,由搜索时searchType决定 -@property (nonatomic, assign) CGFloat distance; -///最后更新的时间戳,单位秒 -@property (nonatomic, assign) NSTimeInterval updatetime; -@end - -#pragma mark - 交通态势 - -///道路路况评价 since 5.1.0 -@interface AMapTrafficEvaluation : AMapSearchObject -///综述 -@property (nonatomic, copy) NSString *evaluationDescription; -///0:未知;1:畅通;2:缓行;3:拥堵 -@property (nonatomic, assign) NSInteger status; -///畅通所占百分比 -@property (nonatomic, copy) NSString *expedite; -///缓行所占百分比 -@property (nonatomic, copy) NSString *congested; -///拥堵所占百分比 -@property (nonatomic, copy) NSString *blocked; -///未知路段所占百分比 -@property (nonatomic, copy) NSString *unknown; -@end - -///道路路况返回的道路信息 since 5.1.0 -@interface AMapTrafficRoad : AMapSearchObject -///道路名称 -@property (nonatomic, copy) NSString *name; -///0:未知;1:畅通;2:缓行;3:拥堵 -@property (nonatomic, assign) NSInteger status; -///方向描述 -@property (nonatomic, copy) NSString *direction; -///车行角度,判断道路正反向使用。 以正东方向为0度,逆时针方向为正,取值范围:[0,360] -@property (nonatomic, assign) float angle; -///速度 单位:千米/小时 -@property (nonatomic, assign) float speed; -///道路坐标集,经度和纬度使用","分隔,坐标之间使用";"分隔。例如:x1,y1;x2,y2 -@property (nonatomic, copy) NSString *polyline; -@end - -///道路路况信息 since 5.1.0 -@interface AMapTrafficInfo : AMapSearchObject -///路况综述 -@property (nonatomic, copy) NSString *statusDescription; -///路况评价 -@property (nonatomic, strong) AMapTrafficEvaluation *evaluation; -///道路信息 -@property (nonatomic, strong) NSArray* roads; - -@end - -#pragma mark - 企业地图基础数据类型 - -///POI点的图片信息 -@interface AMapCloudImage : AMapSearchObject -///图片的id标识 -@property (nonatomic, copy) NSString *uid; -///图片压缩后的url串 -@property (nonatomic, copy) NSString *preurl; -///图片原始的url -@property (nonatomic, copy) NSString *url; -@end - -///POI信息 -@interface AMapCloudPOI : AMapSearchObject -///唯一标识 -@property (nonatomic, assign) NSInteger uid; -///名称 -@property (nonatomic, copy) NSString *name; -///坐标位置 -@property (nonatomic, copy) AMapGeoPoint *location; -///地址 -@property (nonatomic, copy) NSString *address; -///用户自定义字段 -@property (nonatomic, strong) NSDictionary *customFields; -///创建时间 -@property (nonatomic, copy) NSString *createTime; -///更新时间 -@property (nonatomic, copy) NSString *updateTime; -///离当前位置的距离(只在企业地图周边搜索时有效) -@property (nonatomic, assign) NSInteger distance; -///图片信息 -@property (nonatomic, strong) NSArray *images __attribute((deprecated("已废弃 since 7.4.0"))); - -@end diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapNearbySearchManager.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapNearbySearchManager.h deleted file mode 100644 index 1d725f05..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapNearbySearchManager.h +++ /dev/null @@ -1,85 +0,0 @@ -// -// AMapNearbySearchManager.h -// AMapSearchKit -// -// Created by xiaoming han on 15/8/31. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -#import -#import "AMapNearbyUploadInfo.h" - -@class AMapNearbySearchManager; - -///附近搜索代理 -@protocol AMapNearbySearchManagerDelegate -@optional - -/** - * @brief 开启自动上传,需实现该回调。 - */ -- (AMapNearbyUploadInfo *)nearbyInfoForUploading:(AMapNearbySearchManager *)manager; - -/** - * @brief 用户信息上传完毕回调。 - * @param error 错误,为空时表示成功。 - */ -- (void)onNearbyInfoUploadedWithError:(NSError *)error; - -/** - * @brief 用户信息清除完毕回调。 - * @param error 错误,为空时表示成功。 - */ -- (void)onUserInfoClearedWithError:(NSError *)error; - -@end - -///附近搜索管理类,同时只能有一个实例开启,否则可能会出现错误。 -@interface AMapNearbySearchManager : NSObject - -///上传最小间隔,默认15s,最小7s。自动上传的过程中设置无效。 -@property (nonatomic, assign) NSTimeInterval uploadTimeInterval; - -///代理对象。 -@property (nonatomic, weak) id delegate; - -///是否正在自动上传状态中。 -@property (nonatomic, readonly) BOOL isAutoUploading; - -/** - * @brief manager单例. - * 初始化之前请设置key,否则将无法正常使用该服务. - * @return nearbySearch实例。 - */ -+ (instancetype)sharedInstance; - -/** - * @brief 请使用单例。 - */ -- (instancetype)init __attribute__((unavailable)); - -/** - * @brief 启动自动上传。 - */ -- (void)startAutoUploadNearbyInfo; - -/** - * @brief 关闭自动上传。 - */ -- (void)stopAutoUploadNearbyInfo; - -/** - * @brief 执行单次上传,执行间隔不低于uploadTimeInterval最小值,否则执行失败。 - * @param info 需要上传的信息。 - * @return 成功执行返回YES,否则返回NO。 - */ -- (BOOL)uploadNearbyInfo:(AMapNearbyUploadInfo *)info __attribute((deprecated("已废弃 since 7.4.0,该功能不再支持"))); - -/** - * @brief 清除服务器上某一用户的信息。 - * @param userID 指定的用户ID - * @return 成功执行返回YES,否则返回NO。 - */ -- (BOOL)clearUserInfoWithID:(NSString *)userID __attribute((deprecated("已废弃 since 7.4.0,该功能不再支持"))); - -@end diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapNearbyUploadInfo.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapNearbyUploadInfo.h deleted file mode 100644 index d8d316bc..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapNearbyUploadInfo.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// AMapNearbyUploadInfo.h -// AMapSearchKit -// -// Created by xiaoming han on 15/9/6. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -#import -#import - -///上传经纬度类型 -typedef NS_ENUM(NSInteger, AMapSearchCoordinateType) -{ - AMapSearchCoordinateTypeGPS = 1, ///< 标准GPS坐标 - AMapSearchCoordinateTypeAMap = 2, ///< 高德坐标 -}; - - -///附近搜索上传信息 -@interface AMapNearbyUploadInfo : NSObject - -///用户唯一标识,不能为空,否则上传会失败. 长度不超过32字符,只能包含英文、数字、下划线、短横杠 -@property (nonatomic, copy) NSString *userID; - -///坐标类型,默认是 AMapSearchCoordinateTypeAMap -@property (nonatomic, assign) AMapSearchCoordinateType coordinateType; - -///用户位置经纬度。 -@property (nonatomic, assign) CLLocationCoordinate2D coordinate; - -@end diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchAPI.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchAPI.h deleted file mode 100644 index f7421279..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchAPI.h +++ /dev/null @@ -1,351 +0,0 @@ -// -// AMapSearchAPI.h -// AMapSearchKit -// -// Created by xiaoming han on 15/7/22. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -#import -#import "AMapSearchObj.h" -#import "AMapCommonObj.h" - -@protocol AMapSearchDelegate; - -///搜索结果语言 -#define AMapSearchLanguageZhCN @"zh" ///< 中文 -#define AMapSearchLanguageEn @"en" ///< 英文 - -///搜索类 -@interface AMapSearchAPI : NSObject - -///实现了 AMapSearchDelegate 协议的类指针。 -@property (nonatomic, weak) id delegate; - -///查询超时时间,单位秒,默认为20秒。 -@property (nonatomic, assign) NSInteger timeout; - -///查询结果返回语言, 默认为中文。 -@property (nonatomic, copy) NSString *language; - -/** - * @brief AMapSearch的初始化函数。 - * 初始化之前请正确设置key,否则将无法正常使用搜索服务. - * @return AMapSearch类对象实例 - */ -- (instancetype)init; - -/** - * @brief 取消所有未回调的请求,触发错误回调。 - */ -- (void)cancelAllRequests; - -#pragma mark - 搜索服务接口 - -/** - * @brief POI ID查询接口 - * @param request 查询选项。具体属性字段请参考 AMapPOIIDSearchRequest 类。 - */ -- (void)AMapPOIIDSearch:(AMapPOIIDSearchRequest *)request; - -/** - * @brief POI 关键字查询接口 - * @param request 查询选项。具体属性字段请参考 AMapPOIKeywordsSearchRequest 类。 - */ -- (void)AMapPOIKeywordsSearch:(AMapPOIKeywordsSearchRequest *)request; - -/** - * @brief POI 周边查询接口 - * @param request 查询选项。具体属性字段请参考 AMapPOIAroundSearchRequest 类。 - */ -- (void)AMapPOIAroundSearch:(AMapPOIAroundSearchRequest *)request; - -/** - * @brief POI 多边形查询接口 - * @param request 查询选项。具体属性字段请参考 AMapPOIPolygonSearchRequest 类。 - */ -- (void)AMapPOIPolygonSearch:(AMapPOIPolygonSearchRequest *)request; - -/** - * @brief 沿途查询接口 (v4.3.0) - * @param request 查询选项。具体属性字段请参考 AMapRoutePOISearchRequest 类。 - */ -- (void)AMapRoutePOISearch:(AMapRoutePOISearchRequest *)request; - -/** - * @brief 地址编码查询接口 - * @param request 查询选项。具体属性字段请参考 AMapGeocodeSearchRequest 类。 - */ -- (void)AMapGeocodeSearch:(AMapGeocodeSearchRequest *)request; - -/** - * @brief 逆地址编码查询接口 - * @param request 查询选项。具体属性字段请参考 AMapReGeocodeSearchRequest 类。 - */ -- (void)AMapReGoecodeSearch:(AMapReGeocodeSearchRequest *)request; - -/** - * @brief 输入提示查询接口 - * @param request 查询选项。具体属性字段请参考 AMapInputTipsSearchRequest 类。 - */ -- (void)AMapInputTipsSearch:(AMapInputTipsSearchRequest *)request; - -/** - * @brief 公交站点查询接口 - * @param request 查询选项。具体属性字段请参考 AMapBusStopSearchRequest 类。 - */ -- (void)AMapBusStopSearch:(AMapBusStopSearchRequest *)request; - -/** - * @brief 公交线路关键字查询 - * @param request 查询选项。具体属性字段请参考 AMapBusLineIDSearchRequest 类。 - */ -- (void)AMapBusLineIDSearch:(AMapBusLineIDSearchRequest *)request; - -/** - * @brief 公交线路关键字查询 - * @param request 查询选项。具体属性字段请参考 AMapBusLineNameSearchRequest 类。 - */ -- (void)AMapBusLineNameSearch:(AMapBusLineNameSearchRequest *)request; - -/** - * @brief 行政区域查询接口 - * @param request 查询选项。具体属性字段请参考 AMapDistrictSearchRequest 类。 - */ -- (void)AMapDistrictSearch:(AMapDistrictSearchRequest *)request; - -/** - * @brief 驾车路径规划查询接口 - * @param request 查询选项。具体属性字段请参考 AMapDrivingRouteSearchRequest 类。 - */ -- (void)AMapDrivingRouteSearch:(AMapDrivingRouteSearchRequest *)request; - -/** - * @brief 步行路径规划查询接口 - * @param request 查询选项。具体属性字段请参考 AMapWalkingRouteSearchRequest 类。 - */ -- (void)AMapWalkingRouteSearch:(AMapWalkingRouteSearchRequest *)request; - -/** - * @brief 公交路径规划查询接口 - * @param request 查询选项。具体属性字段请参考 AMapTransitRouteSearchRequest 类。 - */ -- (void)AMapTransitRouteSearch:(AMapTransitRouteSearchRequest *)request; - -/** - * @brief 骑行路径规划查询接口 (since 4.3.0) - * @param request 查询选项。具体属性字段请参考 AMapRidingRouteSearchRequest 类。 - */ -- (void)AMapRidingRouteSearch:(AMapRidingRouteSearchRequest *)request; - -/** - * @brief 货车路径规划查询接口 (since 6.1.0) - * @param request 查询选项。具体属性字段请参考 AMapTruckRouteSearchRequest 类。 - */ -- (void)AMapTruckRouteSearch:(AMapTruckRouteSearchRequest *)request; - -/** - * @brief 未来路线规划查询接口 (since 6.9.0) - * @param request 查询选项。具体属性字段请参考 AMapTruckRouteSearchRequest 类。 - */ -- (void)AMapFutureRouteSearch:(AMapFutureRouteSearchRequest *)request; - -/** - * @brief 天气查询接口 - * @param request 查询选项。具体属性字段请参考 AMapWeatherSearchRequest 类。 - */ -- (void)AMapWeatherSearch:(AMapWeatherSearchRequest *)request; - -/** - * @brief 距离查询(since 6.1.0) - * @param request 查询选项。具体属性字段请参考 AMapDistanceSearchRequest 类。 - */ -- (void)AMapDistanceSearch:(AMapDistanceSearchRequest *)request; - -#pragma mark - 附近搜索相关 - -/** - * @brief 附近搜索查询接口 - * @param request 查询选项。具体属性字段请参考 AMapNearbySearchRequest 类。 - */ -- (void)AMapNearbySearch:(AMapNearbySearchRequest *)request __attribute__((deprecated("已废弃, from 7.4.0,该功能不再支持"))); - -#pragma mark - 企业地图搜索相关 - -/** - * @brief 企业地图周边查询接口 - * @param request 查询选项。具体属性字段请参考 AMapCloudPOIAroundSearchRequest 类。 - */ -- (void)AMapCloudPOIAroundSearch:(AMapCloudPOIAroundSearchRequest *)request; - -/** - * @brief 企业地图polygon区域查询接口 - * @param request 查询选项。具体属性字段请参考 AMapCloudPOIPolygonSearchRequest 类。 - */ -- (void)AMapCloudPOIPolygonSearch:(AMapCloudPOIPolygonSearchRequest *)request; - -/** - * @brief 企业地图ID查询接口 - * @param request 查询选项。具体属性字段请参考 AMapCloudPOIIDSearchRequest 类。 - */ -- (void)AMapCloudPOIIDSearch:(AMapCloudPOIIDSearchRequest *)request; - -/** - * @brief 企业地图本地查询接口 - * @param request 查询选项。具体属性字段请参考 AMapCloudPOILocalSearchRequest 类。 - */ -- (void)AMapCloudPOILocalSearch:(AMapCloudPOILocalSearchRequest *)request; - -#pragma mark - 短串分享相关 - -/** - * @brief 位置短串分享接口 - * @param request 查询选项。具体属性字段请参考 AMapLocationShareSearchRequest 类。 - */ -- (void)AMapLocationShareSearch:(AMapLocationShareSearchRequest *)request; - -/** - * @brief 兴趣点短串分享接口 - * @param request 查询选项。具体属性字段请参考 AMapPOIShareSearchRequest 类。 - */ -- (void)AMapPOIShareSearch:(AMapPOIShareSearchRequest *)request; - -/** - * @brief 路线规划短串分享接口 - * @param request 查询选项。具体属性字段请参考 AMapRouteShareSearchRequest 类。 - */ -- (void)AMapRouteShareSearch:(AMapRouteShareSearchRequest *)request; - -/** - * @brief 导航短串分享接口 - * @param request 查询选项。具体属性字段请参考 AMapNavigationShareSearchRequest 类。 - */ -- (void)AMapNavigationShareSearch:(AMapNavigationShareSearchRequest *)request; - -@end - -#pragma mark - AMapSearchDelegate - -///AMapSearchDelegate协议, 定义了搜索结果的回调方法,发生错误时的错误回调方法。 -@protocol AMapSearchDelegate -@optional - -/** - * @brief 当请求发生错误时,会调用代理的此方法. - * @param request 发生错误的请求. - * @param error 返回的错误. - */ -- (void)AMapSearchRequest:(id)request didFailWithError:(NSError *)error; - -/** - * @brief POI查询回调函数 - * @param request 发起的请求,具体字段参考 AMapPOISearchBaseRequest 及其子类。 - * @param response 响应结果,具体字段参考 AMapPOISearchResponse 。 - */ -- (void)onPOISearchDone:(AMapPOISearchBaseRequest *)request response:(AMapPOISearchResponse *)response; - -/** - * @brief 沿途查询回调函数 (since v4.3.0) - * @param request 发起的请求,具体字段参考 AMapRoutePOISearchRequest 及其子类。 - * @param response 响应结果,具体字段参考 AMapRoutePOISearchResponse 。 - */ -- (void)onRoutePOISearchDone:(AMapRoutePOISearchRequest *)request response:(AMapRoutePOISearchResponse *)response; - -/** - * @brief 地理编码查询回调函数 - * @param request 发起的请求,具体字段参考 AMapGeocodeSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapGeocodeSearchResponse 。 - */ -- (void)onGeocodeSearchDone:(AMapGeocodeSearchRequest *)request response:(AMapGeocodeSearchResponse *)response; - -/** - * @brief 逆地理编码查询回调函数 - * @param request 发起的请求,具体字段参考 AMapReGeocodeSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapReGeocodeSearchResponse 。 - */ -- (void)onReGeocodeSearchDone:(AMapReGeocodeSearchRequest *)request response:(AMapReGeocodeSearchResponse *)response; - -/** - * @brief 输入提示查询回调函数 - * @param request 发起的请求,具体字段参考 AMapInputTipsSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapInputTipsSearchResponse 。 - */ -- (void)onInputTipsSearchDone:(AMapInputTipsSearchRequest *)request response:(AMapInputTipsSearchResponse *)response; - -/** - * @brief 公交站查询回调函数 - * @param request 发起的请求,具体字段参考 AMapBusStopSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapBusStopSearchResponse 。 - */ -- (void)onBusStopSearchDone:(AMapBusStopSearchRequest *)request response:(AMapBusStopSearchResponse *)response; - -/** - * @brief 公交线路关键字查询回调 - * @param request 发起的请求,具体字段参考 AMapBusLineSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapBusLineSearchResponse 。 - */ -- (void)onBusLineSearchDone:(AMapBusLineBaseSearchRequest *)request response:(AMapBusLineSearchResponse *)response; - -/** - * @brief 行政区域查询回调函数 - * @param request 发起的请求,具体字段参考 AMapDistrictSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapDistrictSearchResponse 。 - */ -- (void)onDistrictSearchDone:(AMapDistrictSearchRequest *)request response:(AMapDistrictSearchResponse *)response; - -/** - * @brief 路径规划查询回调 - * @param request 发起的请求,具体字段参考 AMapRouteSearchBaseRequest 及其子类。 - * @param response 响应结果,具体字段参考 AMapRouteSearchResponse 。 - */ -- (void)onRouteSearchDone:(AMapRouteSearchBaseRequest *)request response:(AMapRouteSearchResponse *)response; - -/** - * @brief 未来路径规划查询回调 since 6.9.0 - * @param request 发起的请求,具体字段参考 AMapRouteSearchBaseRequest 及其子类。 - * @param response 响应结果,具体字段参考 AMapRouteSearchResponse 。 - */ -- (void)onFutureRouteSearchDone:(AMapRouteSearchBaseRequest *)request response:(AMapFutureRouteSearchResponse *)response; - -/** - * @brief 距离查询回调 - * @param request 发起的请求,具体字段参考 AMapDistanceSearchRequest 及其子类。 - * @param response 响应结果,具体字段参考 AMapDistanceSearchResponse 。 - */ -- (void)onDistanceSearchDone:(AMapDistanceSearchRequest *)request response:(AMapDistanceSearchResponse *)response; - -/** - * @brief 天气查询回调 - * @param request 发起的请求,具体字段参考 AMapWeatherSearchRequest 。 - * @param response 响应结果,具体字段参考 AMapWeatherSearchResponse 。 - */ -- (void)onWeatherSearchDone:(AMapWeatherSearchRequest *)request response:(AMapWeatherSearchResponse *)response; - -#pragma mark - 附近搜索回调 - -/** - * @brief 附近搜索回调 - * @param request 发起的请求,具体字段参考 AMapNearbySearchRequest 。 - * @param response 响应结果,具体字段参考 AMapNearbySearchResponse 。 - */ -- (void)onNearbySearchDone:(AMapNearbySearchRequest *)request response:(AMapNearbySearchResponse *)response; - -#pragma mark - 企业地图搜索回调 - -/** - * @brief 企业地图查询回调函数 - * @param request 发起的请求,具体字段参考 AMapCloudSearchBaseRequest 。 - * @param response 响应结果,具体字段参考 AMapCloudPOISearchResponse 。 - */ -- (void)onCloudSearchDone:(AMapCloudSearchBaseRequest *)request response:(AMapCloudPOISearchResponse *)response; - -#pragma mark - 短串分享搜索回调 - -/** - * @brief 短串分享搜索回调 - * @param request 发起的请求 - * @param response 相应结果,具体字段参考 AMapShareSearchResponse。 - */ -- (void)onShareSearchDone:(AMapShareSearchBaseRequest *)request response:(AMapShareSearchResponse *)response; - -@end diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchError.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchError.h deleted file mode 100644 index 335f3cbb..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchError.h +++ /dev/null @@ -1,73 +0,0 @@ -// -// AMapSearchError.h -// AMapSearchKit -// -// Created by xiaoming han on 15/7/29. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -#ifndef AMapSearchKit_AMapSearchError_h -#define AMapSearchKit_AMapSearchError_h - -///AMapSearch errorDomain -extern NSString * const AMapSearchErrorDomain; - -///AMapSearch errorCode -typedef NS_ENUM(NSInteger, AMapSearchErrorCode) -{ - AMapSearchErrorOK = 1000,///< 没有错误 - AMapSearchErrorInvalidSignature = 1001,///< 无效签名 - AMapSearchErrorInvalidUserKey = 1002,///< key非法或过期 - AMapSearchErrorServiceNotAvailable = 1003,///< 没有权限使用相应的接口 - AMapSearchErrorDailyQueryOverLimit = 1004,///< 访问已超出日访问量 - AMapSearchErrorTooFrequently = 1005,///< 用户访问过于频繁 - AMapSearchErrorInvalidUserIP = 1006,///< 用户IP无效 - AMapSearchErrorInvalidUserDomain = 1007,///< 用户域名无效 - AMapSearchErrorInvalidUserSCode = 1008,///< 安全码验证错误,bundleID与key不对应 - AMapSearchErrorUserKeyNotMatch = 1009,///< 请求key与绑定平台不符 - AMapSearchErrorIPQueryOverLimit = 1010,///< IP请求超限 - AMapSearchErrorNotSupportHttps = 1011,///< 不支持HTTPS请求 - AMapSearchErrorInsufficientPrivileges = 1012,///< 权限不足,服务请求被拒绝 - AMapSearchErrorUserKeyRecycled = 1013,///< 开发者key被删除,无法正常使用 - - AMapSearchErrorInvalidResponse = 1100,///< 请求服务响应错误 - AMapSearchErrorInvalidEngineData = 1101,///< 引擎返回数据异常 - AMapSearchErrorConnectTimeout = 1102,///< 服务端请求链接超时 - AMapSearchErrorReturnTimeout = 1103,///< 读取服务结果超时 - AMapSearchErrorInvalidParams = 1200,///< 请求参数非法 - AMapSearchErrorMissingRequiredParams = 1201,///< 缺少必填参数 - AMapSearchErrorIllegalRequest = 1202,///< 请求协议非法 - AMapSearchErrorServiceUnknown = 1203,///< 其他服务端未知错误 - - AMapSearchErrorClientUnknown = 1800,///< 客户端未知错误,服务返回结果为空或其他错误 - AMapSearchErrorInvalidProtocol = 1801,///< 协议解析错误,通常是返回结果无法解析 - AMapSearchErrorTimeOut = 1802,///< 连接超时 - AMapSearchErrorBadURL = 1803,///< URL异常 - AMapSearchErrorCannotFindHost = 1804,///< 找不到主机 - AMapSearchErrorCannotConnectToHost = 1805,///< 服务器连接失败 - AMapSearchErrorNotConnectedToInternet = 1806,///< 连接异常,通常为没有网络的情况 - AMapSearchErrorCancelled = 1807,///< 连接取消 - - AMapSearchErrorOverPassPointCount = 1809,///< 途经点个数超限 - AMapSearchErrorOverPassAreaMaxCount = 1810,///< 避让区域个数超限 - AMapSearchErrorOverPassAreaMaxArea = 1811,///< 避让区域大小超限 - AMapSearchErrorOverPassAreaPointCount = 1812,///< 避让区域点个数超限 - AMapSearchErrorOverPassKeyWordLenth = 1813,///< 搜索关键字长度超限 - - AMapSearchErrorTableIDNotExist = 2000,///< table id 格式不正确 - AMapSearchErrorIDNotExist = 2001,///< id 不存在 - AMapSearchErrorServiceMaintenance = 2002,///< 服务器维护中 - AMapSearchErrorEngineTableIDNotExist = 2003,///< key对应的table id 不存在 - AMapSearchErrorInvalidNearbyUserID = 2100,///< 找不到对应userID的信息 - AMapSearchErrorNearbyKeyNotBind = 2101,///< key未开通“附近”功能 - - AMapSearchErrorOutOfService = 3000,///< 规划点(包括起点、终点、途经点)不在中国范围内 - AMapSearchErrorNoRoadsNearby = 3001,///< 规划点(包括起点、终点、途经点)附近搜不到道路 - AMapSearchErrorRouteFailed = 3002,///< 路线计算失败,通常是由于道路连通关系导致 - AMapSearchErrorOverDirectionRange = 3003,///< 起点终点距离过长 - - AMapSearchErrorShareLicenseExpired = 4000,///< 短串分享认证失败 - AMapSearchErrorShareFailed = 4001,///< 短串请求失败 -}; - -#endif diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchKit.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchKit.h deleted file mode 100644 index ed46e5cb..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchKit.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// AMapSearchKit.h -// AMapSearchKit -// -// Created by xiaoming han on 15/7/22. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -#import -#import -#import -#import -#import -#import - -#import diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchObj.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchObj.h deleted file mode 100644 index 7d0fb200..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchObj.h +++ /dev/null @@ -1,727 +0,0 @@ -// -// AMapSearchObj.h -// AMapSearchKit -// -// Created by xiaoming han on 15/7/22. -// Copyright (c) 2015年 Amap. All rights reserved. -// - -/* 该文件定义了搜索请求和返回对象。*/ - -#import -#import "AMapCommonObj.h" - -///沿途搜索类型 -typedef NS_ENUM(NSInteger, AMapRoutePOISearchType) -{ - AMapRoutePOISearchTypeGasStation = 0, ///< 加油站 - AMapRoutePOISearchTypeMaintenanceStation = 1, ///< 维修站 - AMapRoutePOISearchTypeATM = 2, ///< ATM - AMapRoutePOISearchTypeToilet = 3, ///< 厕所 - AMapRoutePOISearchTypeGasAirStation = 4, ///< 加气站 - AMapRoutePOISearchTypeParkStation = 5, ///< 服务区 -}; - -///天气查询类型 -typedef NS_ENUM(NSInteger, AMapWeatherType) -{ - AMapWeatherTypeLive = 1, ///< 实时 - AMapWeatherTypeForecast ///< 预报 -}; - -///企业地图搜索结果排序 -typedef NS_ENUM(NSInteger, AMapCloudSortType) -{ - AMapCloudSortTypeDESC = 0, ///< 降序 - AMapCloudSortTypeASC = 1 ///< 升序 -}; - -///附近搜索距离类型 -typedef NS_ENUM(NSInteger, AMapNearbySearchType) -{ - AMapNearbySearchTypeLiner = 0, ///< 直线距离 - AMapNearbySearchTypeDriving = 1, ///< 驾车行驶距离 -}; - -///货车类型 -typedef NS_ENUM(NSInteger, AMapTruckSizeType) -{ - AMapTruckSizeTypeMini = 1, ///< 微型车 - AMapTruckSizeTypeLight = 2, ///< 轻型车 - AMapTruckSizeTypeMedium = 3, ///< 中型车 - AMapTruckSizeTypeHeavy = 4, ///< 重型车 -}; - -///规避道路类型 -typedef NS_ENUM(NSInteger, AMapDrivingRouteExcludeType) -{ - AMapDrivingRouteExcludeTypeNone = 0, ///< 不规避 - AMapDrivingRouteExcludeTypeToll = 1, ///< 收费道路 - AMapDrivingRouteExcludeTypeMotorway = 2, ///< 高速路 - AMapDrivingRouteExcludeTypeFerry = 3, ///< 渡船 -}; - -///距离测量类型 @since 7.7.0 -typedef NS_ENUM(NSInteger, AMapDistanceSearchType) -{ - AMapDistanceSearchTypeStraight = 0, ///< 直线距离 - AMapDistanceSearchTypeDrive = 1, ///< 驾车导航距离 - AMapDistanceSearchTypeWalk = 3, ///< 步行导航距离 -}; - -#pragma mark - AMapPOISearchBaseRequest - -///POI搜索请求基类 -@interface AMapPOISearchBaseRequest : AMapSearchObject -///类型,多个类型用“|”分割 可选值:文本分类、分类代码 -@property (nonatomic, copy) NSString *types; -///排序规则, 0-距离排序;1-综合排序, 默认0 -@property (nonatomic, assign) NSInteger sortrule; -///每页记录数, 范围1-25, [default = 20] -@property (nonatomic, assign) NSInteger offset; -///当前页数, 范围1-100, [default = 1] -@property (nonatomic, assign) NSInteger page; -///建筑物POI编号,传入建筑物POI之后,则只在该建筑物之内进行搜索(since 4.5.0) -@property (nonatomic, copy) NSString *building; -///是否返回扩展信息,默认为 NO。 -@property (nonatomic, assign) BOOL requireExtension; -///是否返回子POI,默认为 NO。 -@property (nonatomic, assign) BOOL requireSubPOIs; -@end - -///POI ID搜索请求 -@interface AMapPOIIDSearchRequest : AMapPOISearchBaseRequest -///POI全局唯一ID -@property (nonatomic, copy) NSString *uid; -@end - -///POI关键字搜索 -@interface AMapPOIKeywordsSearchRequest : AMapPOISearchBaseRequest -///查询关键字,多个关键字用“|”分割 -@property (nonatomic, copy) NSString *keywords; -///查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode.(注:台湾省的城市一律设置为【台湾】,不具体到市。) -@property (nonatomic, copy) NSString *city; -///强制城市限制功能 默认NO,例如:在上海搜索天安门,如果citylimit为true,将不返回北京的天安门相关的POI -@property (nonatomic, assign) BOOL cityLimit; -///设置后,如果sortrule==0,则返回结果会按照距离此点的远近来排序,since 5.2.1 -@property (nonatomic, strong) AMapGeoPoint *location; - -@end - -///POI周边搜索 -@interface AMapPOIAroundSearchRequest : AMapPOISearchBaseRequest -///查询关键字,多个关键字用“|”分割 -@property (nonatomic, copy) NSString *keywords; -///中心点坐标 -@property (nonatomic, copy) AMapGeoPoint *location; -///查询半径,范围:0-50000,单位:米 [default = 1500] -@property (nonatomic, assign) NSInteger radius; -///查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode。注:当用户指定的经纬度和city出现冲突,若范围内有用户指定city的数据,则返回相关数据,否则返回为空。(since 5.7.0) -@property (nonatomic, copy) NSString *city; -///是否对结果进行人工干预,如火车站,原因为poi较为特殊,结果存在人工干预,干预结果优先,所以距离优先的排序未生效,默认为YES (since 7.4.0) -@property (nonatomic, assign) BOOL special; - -@end - -///POI多边形搜索 -@interface AMapPOIPolygonSearchRequest : AMapPOISearchBaseRequest -///查询关键字,多个关键字用“|”分割 -@property (nonatomic, copy) NSString *keywords; -///多边形 -@property (nonatomic, copy) AMapGeoPolygon *polygon; -@end - -///POI搜索返回 -@interface AMapPOISearchResponse : AMapSearchObject -///返回的POI数目 -@property (nonatomic, assign) NSInteger count; -///关键字建议列表和城市建议列表 -@property (nonatomic, strong) AMapSuggestion *suggestion; -///POI结果,AMapPOI 数组 -@property (nonatomic, strong) NSArray *pois; -@end - -#pragma mark - AMapPOIRouteSearchRequest -///沿途搜索, 注意起点和终点不能相距太远(大概70公里),否则可能搜索结果为空 -@interface AMapRoutePOISearchRequest : AMapSearchObject -///中心点坐标 -@property (nonatomic, copy) AMapGeoPoint *origin; -///目标点坐标 -@property (nonatomic, copy) AMapGeoPoint *destination; -///搜索类型 -@property (nonatomic, assign) AMapRoutePOISearchType searchType; -///驾车导航策略,同驾车路径规划请求的策略(5 多策略除外) -@property (nonatomic, assign) NSInteger strategy; -///道路周围搜索范围,单位米,[0-500],默认250。 -@property (nonatomic, assign) NSInteger range; -///用户自己规划的路线,在origine、destination未填入时为必填.格式为:"经度,维度;经度,维度;...". 目前限制个数最多为100个点 -@property (nonatomic, strong) NSString *polylineStr; -///用户自己规划的路线,在origine、destination未填入且polylineStr未填入时为必填. 目前限制个数最多为100个点 -@property (nonatomic, strong) NSArray *polyline; - -@end - -///沿途搜索返回 -@interface AMapRoutePOISearchResponse : AMapSearchObject -///返回的POI数目 -@property (nonatomic, assign) NSInteger count; -///POI结果,AMapRoutePOI 数组 -@property (nonatomic, strong) NSArray *pois; -@end - -#pragma mark - AMapInputTipsSearchRequest - -///搜索提示请求 -@interface AMapInputTipsSearchRequest : AMapSearchObject -///查询关键字 -@property (nonatomic, copy) NSString *keywords; -///查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode. -@property (nonatomic, copy) NSString *city; -///类型,多个类型用“|”分割 可选值:文本分类、分类代码 -@property (nonatomic, copy) NSString *types; -///强制城市限制功能,例如:在上海搜索天安门,如果citylimit为true,将不返回北京的天安门相关的POI -@property (nonatomic, assign) BOOL cityLimit; -///格式形如:@"116.481488,39.990464",(经度,纬度),不可以包含空格。如果设置,在此location附近优先返回搜索关键词信息, since 5.0.0 -@property (nonatomic, copy) NSString *location; -@end - -///搜索提示返回 -@interface AMapInputTipsSearchResponse : AMapSearchObject -///返回数目 -@property (nonatomic, assign) NSInteger count; -///提示列表 AMapTip 数组, AMapTip 有多种属性,可根据该对象的返回信息,配合其他搜索服务使用,完善您应用的功能。如:\n 1)uid为空,location为空,该提示语为品牌词,可根据该品牌词进行POI关键词搜索。\n 2)uid不为空,location为空,为公交线路,根据uid进行公交线路查询。\n 3)uid不为空,location也不为空,是一个真实存在的POI,可直接显示在地图上。 -@property (nonatomic, strong) NSArray *tips; -@end - -#pragma mark - AMapGeocodeSearchRequest - -///地理编码请求 -@interface AMapGeocodeSearchRequest : AMapSearchObject -///地址 -@property (nonatomic, copy) NSString *address; -///查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode. -@property (nonatomic, copy) NSString *city; -///指定查询国家,支持多个国家,用“|”分隔,可选值:国家代码ISO 3166 或 global,仅海外生效(since 7.4.0) -@property (nonatomic, copy) NSString *country; -@end - -///地理编码返回 -@interface AMapGeocodeSearchResponse : AMapSearchObject -///返回数目 -@property (nonatomic, assign) NSInteger count; -///地理编码结果 AMapGeocode 数组 -@property (nonatomic, strong) NSArray *geocodes; -@end - - -#pragma mark - AMapReGeocodeSearchRequest - -///逆地理编码请求 -@interface AMapReGeocodeSearchRequest : AMapSearchObject -///是否返回扩展信息,默认NO。 -@property (nonatomic, assign) BOOL requireExtension; -///中心点坐标。 -@property (nonatomic, copy) AMapGeoPoint *location; -///查询半径,单位米,范围0~3000,默认1000。 -@property (nonatomic, assign) NSInteger radius; -///指定返回结果poi数组中的POI类型,在requireExtension=YES时生效。输入为typecode, 支持传入多个typecode, 多值时用“|”分割 -@property (nonatomic, copy) NSString *poitype; -///distance 按距离返回,score 按权重返回,仅海外生效(since 7.4.0) -@property (nonatomic, copy) NSString *mode; - -@end - -///逆地理编码返回 -@interface AMapReGeocodeSearchResponse : AMapSearchObject -///逆地理编码结果 -@property (nonatomic, strong) AMapReGeocode *regeocode; -@end - -#pragma mark - AMapBusStopSearchRequest - -///公交站点请求 -@interface AMapBusStopSearchRequest : AMapSearchObject -///查询关键字 -@property (nonatomic, copy) NSString *keywords; -///城市 可选值:cityname(中文或中文全拼)、citycode、adcode -@property (nonatomic, copy) NSString *city; -///每页记录数,默认为20,取值为:1-50 -@property (nonatomic, assign) NSInteger offset; -///当前页数,默认值为1,取值为:1-100 -@property (nonatomic, assign) NSInteger page; -@end - -///公交站点返回 -@interface AMapBusStopSearchResponse : AMapSearchObject -///公交站数目 -@property (nonatomic, assign) NSInteger count; -///关键字建议列表和城市建议列表 -@property (nonatomic, strong) AMapSuggestion *suggestion; -///公交站点数组,数组中存放AMapBusStop对象 -@property (nonatomic, strong) NSArray *busstops; -@end - -#pragma mark - AMapBusLineSearchRequest - -///公交线路查询请求基类,不可直接调用 -@interface AMapBusLineBaseSearchRequest : AMapSearchObject -///城市 可选值:cityname(中文或中文全拼)、citycode、adcode -@property (nonatomic, copy) NSString *city; -///是否返回扩展信息,默认为NO -@property (nonatomic, assign) BOOL requireExtension; -///每页记录数,默认为20,取值为1-50 -@property (nonatomic, assign) NSInteger offset; -///当前页数,默认为1,取值为1-100 -@property (nonatomic, assign) NSInteger page; -@end - -///公交站线路根据名字请求 -@interface AMapBusLineNameSearchRequest : AMapBusLineBaseSearchRequest -///查询关键字 -@property (nonatomic, copy) NSString *keywords; -@end - -///公交站线路根据ID请求 -@interface AMapBusLineIDSearchRequest : AMapBusLineBaseSearchRequest -///唯一标识 -@property (nonatomic, copy) NSString *uid; -@end - -///公交站线路返回 -@interface AMapBusLineSearchResponse : AMapSearchObject -///返回公交站数目 -@property (nonatomic, assign) NSInteger count; -///关键字建议列表和城市建议列表 -@property (nonatomic, strong) AMapSuggestion *suggestion; -///公交线路数组,数组中存放 AMapBusLine 对象 -@property (nonatomic, strong) NSArray *buslines; -@end - -#pragma mark - AMapDistrictSearchRequest -///行政区划查询请求 -@interface AMapDistrictSearchRequest : AMapSearchObject -///查询关键字,只支持单关键字搜索,全国范围 -@property (nonatomic, copy) NSString *keywords; -///是否返回边界坐标,默认NO -@property (nonatomic, assign) BOOL requireExtension; -///是否显示商圈信息,默认NO。注:已废弃,行政区划搜索无商圈信息。 -@property (nonatomic, assign) BOOL showBusinessArea __attribute__((deprecated("已废弃, from 5.3.0")));; -///每页记录数, 范围1-50, [default = 20] -@property (nonatomic, assign) NSInteger offset; -///当前页数, 范围1-100, [default = 1] -@property (nonatomic, assign) NSInteger page; -///子区域层级,默认1。规则:设置显示下级行政区级数(行政区级别包括:国家、省/直辖市、市、区/县、乡镇/街道多级数据)可选值:0、1、2、3等数字,0-不返回下级行政区;1-返回下一级行政区;2-返回下两级行政区;3-返回下三级行政区 -@property (nonatomic, assign) NSInteger subdistrict; - -@end - -///行政区划响应 -@interface AMapDistrictSearchResponse : AMapSearchObject -///返回数目 -@property (nonatomic, assign) NSInteger count; -///行政区域 AMapDistrict 数组 -@property (nonatomic, strong) NSArray *districts; -@end - -#pragma mark - AMapRouteSearchBaseRequest - -///路径规划基础类,不可直接调用 -@interface AMapRouteSearchBaseRequest : AMapSearchObject -///出发点 -@property (nonatomic, copy) AMapGeoPoint *origin; -///目的地 -@property (nonatomic, copy) AMapGeoPoint *destination; -@end - -#pragma mark - AMapDrivingRouteSearchRequest - -///驾车路径规划 -@interface AMapDrivingRouteSearchRequest : AMapRouteSearchBaseRequest - -/** - 驾车导航策略,默认策略为0。 - 0,速度优先(时间);1,费用优先(不走收费路段的最快道路);2,距离优先;3,不走快速路;4,躲避拥堵; - 5,多策略(同时使用速度优先、费用优先、距离优先三个策略计算路径),其中必须说明,就算使用三个策略算路,会根据路况不固定的返回一至三条路径规划信息; - 6,不走高速;7,不走高速且避免收费;8,躲避收费和拥堵;9,不走高速且躲避收费和拥堵; - 10,多备选,时间最短,距离最短,躲避拥堵(考虑路况); - 11,多备选,时间最短,距离最短; - 12,多备选,躲避拥堵(考虑路况); - 13,多备选,不走高速; - 14,多备选,费用优先; - 15,多备选,躲避拥堵,不走高速(考虑路况); - 16,多备选,费用有限,不走高速; - 17,多备选,躲避拥堵,费用优先(考虑路况); - 18,多备选,躲避拥堵,不走高速,费用优先(考虑路况); - 19,多备选,高速优先; - 20,多备选,高速优先,躲避拥堵(考虑路况) - */ -@property (nonatomic, assign) NSInteger strategy; -///途经点 AMapGeoPoint 数组,最多支持16个途经点 -@property (nonatomic, copy) NSArray *waypoints; -///避让区域 AMapGeoPolygon 数组,最多支持100个避让区域,每个区域16个点 -@property (nonatomic, copy) NSArray *avoidpolygons; -///避让道路名 -@property (nonatomic, copy) NSString *avoidroad; -///出发点 POI ID -@property (nonatomic, copy) NSString *originId; -///目的地 POI ID -@property (nonatomic, copy) NSString *destinationId; -///出发点POI类型编码 -@property (nonatomic, copy) NSString *origintype; -///目的地POI类型编码 -@property (nonatomic, copy) NSString *destinationtype; -///是否返回扩展信息,默认为 NO -@property (nonatomic, assign) BOOL requireExtension; -///车牌省份,用汉字填入车牌省份缩写。用于判断是否限行 -@property (nonatomic, copy) NSString *plateProvince; -///车牌详情,填入除省份及标点之外的字母和数字(需大写)。用于判断是否限行。 -@property (nonatomic, copy) NSString *plateNumber; -///使用轮渡,0使用1不使用,默认为0使用 -@property (nonatomic, assign) NSInteger ferry; -/** - 驾车路径规划车辆类型,默认策略为0。 - 0:普通汽车(默认值); - 1:纯电动车; - 2:插电混动车 - */ -@property (nonatomic, assign) NSInteger cartype; -///规避道路类型,默认为AMapDrivingRouteExcludeTypeNone,仅海外生效 -@property (nonatomic, assign) AMapDrivingRouteExcludeType exclude; - -@end - -#pragma mark - AMapWalkingRouteSearchRequest - -///步行路径规划 -@interface AMapWalkingRouteSearchRequest : AMapRouteSearchBaseRequest -///是否提供备选步行方案([default = 0])0-只提供一条步行方案; 1-提供备选步行方案(有可能无备选方案) -@property (nonatomic, assign) NSInteger multipath __attribute__((deprecated("已废弃, from 5.0.0"))); -@end - -#pragma mark - AMapTransitRouteSearchRequest - -///公交路径规划 -@interface AMapTransitRouteSearchRequest : AMapRouteSearchBaseRequest -///公交换乘策略([default = 0])\n 0-最快捷模式;\n 1-最经济模式;\n 2-最少换乘模式;\n 3-最少步行模式;\n 4-最舒适模式;\n 5-不乘地铁模式 -@property (nonatomic, assign) NSInteger strategy; -///城市, 必填 -@property (nonatomic, copy) NSString *city; -///目的城市, 跨城时需要填写,否则会出错 -@property (nonatomic, copy) NSString *destinationCity; -///是否包含夜班车,默认为 NO -@property (nonatomic, assign) BOOL nightflag; -///是否返回扩展信息,默认为 NO -@property (nonatomic, assign) BOOL requireExtension; -@end - -#pragma mark - AMapRidingRouteSearchRequest - -///骑行路径规划 -@interface AMapRidingRouteSearchRequest : AMapRouteSearchBaseRequest -///路径方案类型([default = 0])\n 0-推荐路线及最快路线综合\n 1-推荐路线\n 2-最快路线 -@property (nonatomic, assign) NSInteger type __attribute__((deprecated("已废弃, from 5.0.0"))); -///是否返回扩展信息,默认为 NO (since 7.6.0) -@property (nonatomic, assign) BOOL requireExtension; -@end - -///路径规划返回 -@interface AMapRouteSearchResponse : AMapSearchObject -///路径规划信息数目 -@property (nonatomic, assign) NSInteger count; -///路径规划信息 -@property (nonatomic, strong) AMapRoute *route; -@end - -///骑行路径规划返回 -@interface AMapRidingRouteSearchResponse : AMapRouteSearchResponse -@end - -#pragma mark - AMapTruckRouteSearchRequest - -///货车路径规划(since 6.1.0) -@interface AMapTruckRouteSearchRequest : AMapRouteSearchBaseRequest - -/** - 驾车导航策略,默认为策略1。 - 1,返回的结果考虑路况,尽量躲避拥堵而规划路径,与高德地图的“躲避拥堵”策略一致; - 2,返回的结果不走高速,与高德地图“不走高速”策略一致; - 3,返回的结果尽可能规划收费较低甚至免费的路径,与高德地图“避免收费”策略一致; - 4,返回的结果考虑路况,尽量躲避拥堵而规划路径,并且不走高速,与高德地图的“躲避拥堵&不走高速”策略一致; - 5,返回的结果尽量不走高速,并且尽量规划收费较低甚至免费的路径结果,与高德地图的“避免收费&不走高速”策略一致; - 6,返回路径规划结果会尽量的躲避拥堵,并且规划收费较低甚至免费的路径结果,与高德地图的“躲避拥堵&避免收费”策略一致; - 7,返回的结果尽量躲避拥堵,规划收费较低甚至免费的路径结果,并且尽量不走高速路,与高德地图的“避免拥堵&避免收费&不走高速”策略一致; - 8,返回的结果会优先选择高速路,与高德地图的“高速优先”策略一致; - 9,返回的结果会优先考虑高速路,并且会考虑路况躲避拥堵,与高德地图的“躲避拥堵&高速优先”策略一致。 - */ -@property (nonatomic, assign) NSInteger strategy; -///途经点 AMapGeoPoint 数组,最多支持16个途经点 -@property (nonatomic, copy) NSArray *waypoints; -///出发点 POI ID -@property (nonatomic, copy) NSString *originId; -///目的地 POI ID -@property (nonatomic, copy) NSString *destinationId; -///出发点POI类型编码 -@property (nonatomic, copy) NSString *origintype; -///目的地POI类型编码 -@property (nonatomic, copy) NSString *destinationtype; -///车牌省份,用汉字填入车牌省份缩写。用于判断是否限行 -@property (nonatomic, copy) NSString *plateProvince; -///车牌详情,填入除省份及标点之外的字母和数字(需大写)。用于判断是否限行。 -@property (nonatomic, copy) NSString *plateNumber; -///货车大小,默认为 轻型车(AMapTruckSizeTypeLight) -@property (nonatomic, assign) AMapTruckSizeType size; -///车辆高度,单位米,取值[0 – 25.5]米,默认 1.6 米 -@property (nonatomic, assign) CGFloat height; -///车辆宽度,单位米,取值[0 – 25.5]米,默认 2.5 米 -@property (nonatomic, assign) CGFloat width; -///车辆总重,单位吨,取值[0 – 6553.5]吨,默认 0.9 吨 -@property (nonatomic, assign) CGFloat load; -///货车核定载重,单位吨,取值[0 – 6553.5]吨,默认 10 吨 -@property (nonatomic, assign) CGFloat weight; -///车辆轴数,单位个,取值[0 –255]个,默认 2个轴 -@property (nonatomic, assign) NSInteger axis; -///是否返回扩展信息,默认为 NO (since 7.6.0) -@property (nonatomic, assign) BOOL requireExtension; -@end - -#pragma mark - AMapDistanceSearchRequest - -///距离查询请求(since 6.1.0) -@interface AMapDistanceSearchRequest : AMapSearchObject -///起点坐标数组,最多支持100个点。 -@property (nonatomic, strong) NSArray *origins; -///终点坐标 -@property (nonatomic, strong) AMapGeoPoint *destination; -///路径计算的类型,当type为导航距离时,会考虑路况,故在不同时间请求返回结果可能不同; -@property (nonatomic, assign) AMapDistanceSearchType type; -///驾车距离测量策略,参考驾车路径规划。仅当type为AMapDistanceSearchTypeDrive时有效,默认4 -@property (nonatomic, assign) NSInteger strategy; -///是否返回扩展信息,默认为 NO (since 7.6.0) -@property (nonatomic, assign) BOOL requireExtension; -@end - -///距离查询结果(since 6.1.0) -@interface AMapDistanceSearchResponse : AMapSearchObject -///距离查询结果 AMapDistanceResult 数组。 -@property (nonatomic, strong) NSArray *results; - -@end - -#pragma mark - AMapWeatherSearchRequest - -///天气查询请求 -@interface AMapWeatherSearchRequest : AMapSearchObject -///城市名称,支持cityname及adcode -@property (nonatomic, copy) NSString *city; -///气象类型,Live为实时天气,Forecast为后三天预报天气,默认为Live -@property (nonatomic, assign) AMapWeatherType type; -@end - -///天气查询返回 -@interface AMapWeatherSearchResponse : AMapSearchObject -///实时天气数据信息 AMapLocalWeatherLive 数组,仅在请求实时天气时有返回。 -@property (nonatomic, strong) NSArray *lives; -///预报天气数据信息 AMapLocalWeatherForecast 数组,仅在请求预报天气时有返回 -@property (nonatomic, strong) NSArray *forecasts; - -@end - -#pragma mark - AMapNearbySearchRequest -///附近搜索请求 -@interface AMapNearbySearchRequest : AMapSearchObject -///中心点坐标 -@property (nonatomic, copy) AMapGeoPoint *center; -///查询半径,范围:[0, 10000],单位:米 [default = 1000] -@property (nonatomic, assign) NSInteger radius; -///搜索距离类型,默认为直线距离 -@property (nonatomic, assign) AMapNearbySearchType searchType; -///检索时间范围,超过24小时的数据无法返回,范围[5, 24*60*60] 单位:秒 [default = 1800] -@property (nonatomic, assign) NSInteger timeRange; -///返回条数,范围[1, 100], 默认30 -@property (nonatomic, assign) NSInteger limit; -@end - -///附近搜索返回 -@interface AMapNearbySearchResponse : AMapSearchObject -///结果总条数 -@property (nonatomic, assign) NSInteger count; -///周边用户信息 AMapNearbyUserInfo 数组 -@property (nonatomic, strong) NSArray *infos; -@end - -#pragma mark - AMapCloudSearchBaseRequest - -///企业地图搜索请求基类 -@interface AMapCloudSearchBaseRequest : AMapSearchObject -///要查询的表格ID, 必选 -@property (nonatomic, copy) NSString *tableID; -///筛选条件数组, 可选, 说明:\n 1.支持建立索引的字段根据多个条件筛选,多个条件用双&符号连接;\n 2.判断符合支持:>= 大于等于,<= 小于等于,>大于,<小于,= 精确匹配(text索引不可用);\n 3.示例规则:key1=value1&&key2=value2&&lastloctime>=1469817532,示例:"name=王师傅|张师傅&&lastloctime>=1469817532 -@property (nonatomic, strong) NSArray *filter; -///排序字段名, 可选.\n 说明:\n 1.支持按建立了排序筛选索引的整数或小数字段进行排序:sortFields = "字段名";\n 2.系统预设的字段(忽略sortType):_distance:坐标与中心点距离升序排序,仅在周边检索时有效(若其它请求使用会异常返回);_weight:权重降序排序,当存在keywords时有效;\n; -@property (nonatomic, copy) NSString *sortFields; -///可选, 排序方式(默认升序) -@property (nonatomic, assign) AMapCloudSortType sortType; -///可选, 每页记录数(每页最大记录数100, 默认20) -@property (nonatomic, assign) NSInteger offset; -///可选, 当前页数(>=1, 默认1) -@property (nonatomic, assign) NSInteger page; -@end - -#pragma mark - AMapCloudPlaceAroundSearchRequest - -///企业地图周边搜请求 -@interface AMapCloudPOIAroundSearchRequest : AMapCloudSearchBaseRequest -///必填,中心点坐标。 -@property (nonatomic, copy) AMapGeoPoint *center; -///可选,查询半径(默认值为3000),单位:米 -@property (nonatomic, assign) NSInteger radius; -///可选,搜索关键词。\n 说明:1. 只支持建立过文本索引的字段查询/n 2.支持关键字模糊检索,即对建立【文本索引字段】对应列内容进行模糊检索;如keywords=工商银行,检索返回已建立文本索引列值中包含“工商”或者“银行”或者“工商银行”关键字的POI结果集。/n 3.支持关键字多值模糊检索;如keywords=招商银行&&华夏银行&&工商银行,检索返回已建立索引列值中包含“招商银行”或者“华夏银行”或者“工商银行”的POI结果集,不会返回检索词切分后,如仅包含“招商”或者“银行”的POI集 -@property (nonatomic, copy) NSString *keywords; -@end - -///企业地图polygon区域查询请求 -@interface AMapCloudPOIPolygonSearchRequest : AMapCloudSearchBaseRequest -///必填,多边形。 -@property (nonatomic, copy) AMapGeoPolygon *polygon; -///可选,搜索关键词。\n 说明:1. 只支持建立过文本索引的字段查询/n 2.支持关键字模糊检索,即对建立【文本索引字段】对应列内容进行模糊检索;如keywords=工商银行,检索返回已建立文本索引列值中包含“工商”或者“银行”或者“工商银行”关键字的POI结果集。/n 3.支持关键字多值模糊检索;如keywords=招商银行&&华夏银行&&工商银行,检索返回已建立索引列值中包含“招商银行”或者“华夏银行”或者“工商银行”的POI结果集,不会返回检索词切分后,如仅包含“招商”或者“银行”的POI集 -@property (nonatomic, copy) NSString *keywords; -@end - -///企业地图ID查询请求 -@interface AMapCloudPOIIDSearchRequest : AMapCloudSearchBaseRequest -///必填,POI的ID -@property (nonatomic, assign) NSInteger uid; -@end - -///企业地图本地查询请求 -@interface AMapCloudPOILocalSearchRequest : AMapCloudSearchBaseRequest -///可选,搜索关键词。\n 说明:1. 只支持建立过文本索引的字段查询/n 2.支持关键字模糊检索,即对建立【文本索引字段】对应列内容进行模糊检索;如keywords=工商银行,检索返回已建立文本索引列值中包含“工商”或者“银行”或者“工商银行”关键字的POI结果集。/n 3.支持关键字多值模糊检索;如keywords=招商银行&&华夏银行&&工商银行,检索返回已建立索引列值中包含“招商银行”或者“华夏银行”或者“工商银行”的POI结果集,不会返回检索词切分后,如仅包含“招商”或者“银行”的POI集 -@property (nonatomic, copy) NSString *keywords; -///必填,城市名称\n 说明:\n 1. 支持全国/省/市/区县行政区划范围的检索;\n 2. city = "全国",即对用户全表搜索;\n 3. 当city值设置非法或不正确时,按照 city = "全国"返回。 -@property (nonatomic, copy) NSString *city; -@end - -///企业地图搜索返回 -@interface AMapCloudPOISearchResponse : AMapSearchObject -///返回结果总数目 -@property (nonatomic, assign) NSInteger count; -///返回的结果, AMapCloudPOI 数组 -@property (nonatomic, strong) NSArray *POIs; - -@end - -#pragma mark - AMapShareSearchBaseRequest - -///短串分享搜索请求基类, 请使用具体的子类。 -@interface AMapShareSearchBaseRequest : AMapSearchObject -@end - -///位置短串分享请求 -@interface AMapLocationShareSearchRequest : AMapShareSearchBaseRequest -///必填, 位置坐标 -@property (nonatomic, copy) AMapGeoPoint *location; -///位置名称,请不要包含【,%&@#】等特殊符号 -@property (nonatomic, copy) NSString *name; -@end - -///兴趣点短串分享请求 -@interface AMapPOIShareSearchRequest : AMapShareSearchBaseRequest -///POI的ID,如果有ID则指定POI,否则按name查询。 -@property (nonatomic, copy) NSString *uid; -///坐标 -@property (nonatomic, copy) AMapGeoPoint *location; -///名称,请不要包含【,%&@#】等特殊符号。 -@property (nonatomic, copy) NSString *name; -///地址,请不要包含【,%&@#】等特殊符号。 -@property (nonatomic, copy) NSString *address; -@end - -///路径规划短串分享请求 -@interface AMapRouteShareSearchRequest : AMapShareSearchBaseRequest -///默认为0\n 驾车:0-速度最快(时间);\n 1-避免收费(不走收费路段的最快道路);\n 2-距离优先;\n 3-不走高速;\n 4-结合实时交通(躲避拥堵);\n 5-不走高速且避免收费;\n 6-不走高速且躲避拥堵;\n 7-躲避收费和拥堵;\n 8-不走高速且躲避收费和拥堵\n\n 公交:0-最快捷;\n 1-最经济;\n 2-最少换乘;\n 3-最少步行;\n 4-最舒适;\n 5-不乘地铁;\n\n 步行,无策略,均一样 -@property (nonatomic, assign) NSInteger strategy; -///Route的type,默认为0,超出范围为0.\n 0为驾车,\n 1为公交,\n 2为步行 -@property (nonatomic, assign) NSInteger type; -///起点坐标 -@property (nonatomic, copy) AMapGeoPoint *startCoordinate; -///终点坐标 -@property (nonatomic, copy) AMapGeoPoint *destinationCoordinate; -///起点名称,默认为“已选择的位置”,请不要包含【,%&@#】等特殊符号 -@property (nonatomic, copy) NSString *startName; -///终点名称,默认为“已选择的位置”,请不要包含【,%&@#】等特殊符号 -@property (nonatomic, copy) NSString *destinationName; -@end - -///导航短串分享请求 -@interface AMapNavigationShareSearchRequest : AMapShareSearchBaseRequest - -///默认为0,超出范围为0\n 驾车:0-速度最快(时间);\n 1-避免收费(不走收费路段的最快道路);\n 2-距离优先;\n 3-不走高速;\n 4-结合实时交通(躲避拥堵);\n 5-不走高速且避免收费;\n 6-不走高速且躲避拥堵;\n 7-躲避收费和拥堵;\n 8-不走高速且躲避收费和拥堵 -@property (nonatomic, assign) NSInteger strategy; -///起点坐标,若跳转到高德地图,默认更换为定位坐标 -@property (nonatomic, copy) AMapGeoPoint *startCoordinate; -///终点坐标 -@property (nonatomic, copy) AMapGeoPoint *destinationCoordinate; -@end - -///导航短串分享响应 -@interface AMapShareSearchResponse : AMapSearchObject -///转换后的短串 -@property (nonatomic, copy) NSString *shareURL; -@end - -///未来路线规划(since 6.9.0) -@interface AMapFutureRouteSearchRequest : AMapRouteSearchBaseRequest -///出发时间 单位为秒 -@property (nonatomic, copy) NSString *beginTime; -///时间间隔 单位为秒 -@property (nonatomic, assign) NSInteger interval; -///时间点个数,最多48个 -@property (nonatomic, assign) NSInteger timeCount; -/** - 未来路线规划策略,默认策略为0。 - 1,返回的结果考虑路况,尽量躲避拥堵而规划路径,与高德地图的“躲避拥堵”策略一致 - 2,返回的结果不走高速,与高德地图“不走高速”策略一致 - 3,返回的结果尽可能规划收费较低甚至免费的路径,与高德地图“避免收费”策略一致 - 4,返回的结果考虑路况,尽量躲避拥堵而规划路径,并且不走高速,与高德地图的“躲避拥堵&不走高速”策略一致 - 5,返回的结果尽量不走高速,并且尽量规划收费较低甚至免费的路径结果,与高德地图的“避免收费&不走高速”策略一致 - 6,返回路径规划结果会尽量的躲避拥堵,并且规划收费较低甚至免费的路径结果,与高德地图的“躲避拥堵&避免收费”策略一致 - 7,返回的结果尽量躲避拥堵,规划收费较低甚至免费的路径结果,并且尽量不走高速路,与高德地图的“避免拥堵&避免收费&不走高速”策略一致 - 8,返回的结果会优先选择高速路,与高德地图的“高速优先”策略一致 - 9,返回的结果会优先考虑高速路,并且会考虑路况躲避拥堵,与高德地图的“躲避拥堵&高速优先”策略一致 - 10,不考虑路况,返回速度最优、耗时最短的路线,但是此路线不一定距离最短 - 11,避让拥堵&速度优先&避免收费 - */ -@property (nonatomic, assign) NSInteger strategy; -///出发点 POI ID -@property (nonatomic, copy) NSString *originId; -///目的地 POI ID -@property (nonatomic, copy) NSString *destinationId; -///出发点POI类型编码 -@property (nonatomic, copy) NSString *origintype; -///目的地POI类型编码 -@property (nonatomic, copy) NSString *destinationtype; -///终点的父POI ID -@property (nonatomic, copy) NSString *parentId; - -/////是否返回扩展信息,默认为 NO -//@property (nonatomic, assign) BOOL requireExtension; -///车牌省份,用汉字填入车牌省份缩写。用于判断是否限行 -@property (nonatomic, copy) NSString *plateProvince; -///车牌详情,填入除省份及标点之外的字母和数字(需大写)。用于判断是否限行。 -@property (nonatomic, copy) NSString *plateNumber; -/** - 驾车路径规划车辆类型,默认策略为0。 - 0:普通汽车(默认值); - 1:纯电动车; - 2:插电混动车 - */ -@property (nonatomic, assign) NSInteger cartype; -@end - -///未来路线规划(since 6.9.0) -@interface AMapFutureRouteSearchResponse : AMapSearchObject -///路径规划方案,只会返回AMapPath中的distance、totalTrafficLights、steps -@property (nonatomic, strong) NSArray *paths; -///不同时间的规划以及信息列表 -@property (nonatomic, strong) NSArray *timeInfos; -@end diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchVersion.h b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchVersion.h deleted file mode 100644 index 59c4aad4..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Headers/AMapSearchVersion.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// AMapSearchVersion.h -// AMapSearchKit -// -// Created by xiaoming han on 15/10/27. -// Copyright © 2015年 Amap. All rights reserved. -// - -#import -#import - -#ifndef AMapSearchVersion_h -#define AMapSearchVersion_h - -#define AMapSearchVersionNumber 70800 -#define AMapSearchMinRequiredFoundationVersion 10604 - -// 依赖库版本检测 -#if AMapFoundationVersionNumber < AMapSearchMinRequiredFoundationVersion -#error "The AMapFoundationKit version is less than minimum required, please update! Any questions please to visit http://lbs.amap.com" -#endif - -FOUNDATION_EXTERN NSString * const AMapSearchVersion; -FOUNDATION_EXTERN NSString * const AMapSearchName; - -#endif /* AMapSearchVersion_h */ diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Modules/module.modulemap b/ios/UniMPSDK/Libs/AMapSearchKit.framework/Modules/module.modulemap deleted file mode 100644 index c09b8b19..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AMapSearchKit { - umbrella header "AMapSearchKit.h" - - export * - module * { export * } -} diff --git a/ios/UniMPSDK/Libs/AMapSearchKit.framework/version.txt b/ios/UniMPSDK/Libs/AMapSearchKit.framework/version.txt deleted file mode 100644 index b52eff06..00000000 --- a/ios/UniMPSDK/Libs/AMapSearchKit.framework/version.txt +++ /dev/null @@ -1 +0,0 @@ -7.8.0+sea.4b6a128 diff --git a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/DCUniVideoPublic b/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/DCUniVideoPublic deleted file mode 100644 index 8974570e..00000000 Binary files a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/DCUniVideoPublic and /dev/null differ diff --git a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Headers/HJDanmakuView.h b/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Headers/HJDanmakuView.h deleted file mode 100644 index 374b7fe8..00000000 --- a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Headers/HJDanmakuView.h +++ /dev/null @@ -1,99 +0,0 @@ -// -// HJDanmakuView.h -// HJDanmakuDemo -// -// Created by haijiao on 2017/7/6. -// Copyright © 2017年 olinone. All rights reserved. -// - -#import -#import "HJDanmakuConfiguration.h" -#import "HJDanmakuModel.h" -#import "HJDanmakuCell.h" - -@class HJDanmakuView; -@protocol HJDanmakuViewDelegate - -@optional - -// preparate completed. you can start render after callback -- (void)prepareCompletedWithDanmakuView:(HJDanmakuView *)danmakuView; - -// called before render. return NO will ignore danmaku -- (BOOL)danmakuView:(HJDanmakuView *)danmakuView shouldRenderDanmaku:(HJDanmakuModel *)danmaku; - -// display customization -- (void)danmakuView:(HJDanmakuView *)danmakuView willDisplayCell:(HJDanmakuCell *)cell danmaku:(HJDanmakuModel *)danmaku; -- (void)danmakuView:(HJDanmakuView *)danmakuView didEndDisplayCell:(HJDanmakuCell *)cell danmaku:(HJDanmakuModel *)danmaku; - -// selection customization -- (BOOL)danmakuView:(HJDanmakuView *)danmakuView shouldSelectCell:(HJDanmakuCell *)cell danmaku:(HJDanmakuModel *)danmaku; -- (void)danmakuView:(HJDanmakuView *)danmakuView didSelectCell:(HJDanmakuCell *)cell danmaku:(HJDanmakuModel *)danmaku; - -@end - -//_______________________________________________________________________________________________________________ - -@protocol HJDanmakuViewDateSource; -@interface HJDanmakuView : UIView - -@property (nonatomic, weak) id dataSource; -@property (nonatomic, weak) id delegate; - -@property (readonly) HJDanmakuConfiguration *configuration; -@property (readonly) BOOL isPrepared; -@property (readonly) BOOL isPlaying; - -// traverse touches outside of the danmaku view, default NO -@property (nonatomic, assign) BOOL traverseTouches; - -- (instancetype)initWithFrame:(CGRect)frame configuration:(HJDanmakuConfiguration *)configuration; - -- (void)registerClass:(Class)cellClass forCellReuseIdentifier:(NSString *)identifier; -- (__kindof HJDanmakuCell *)dequeueReusableCellWithIdentifier:(NSString *)identifier; - -- (__kindof HJDanmakuModel *)danmakuForVisibleCell:(HJDanmakuCell *)danmakuCell; // returns nil if cell is not visible -@property (nonatomic, readonly) NSArray<__kindof HJDanmakuCell *> *visibleCells; - -// you can prepare with nil when liveModel -- (void)prepareDanmakus:(NSArray *)danmakus; - -// be sure to call -prepareDanmakus before -play, when isPrepared is NO, call will be invalid -- (void)play; -- (void)pause; -- (void)stop; - -// reset and clear all danmakus, must call -prepareDanmakus before -play once again -- (void)reset; -- (void)clearScreen; - - -/* send customization. when force, renderer will draw the danmaku immediately and ignore the maximum quantity limit. - you should call -sendDanmakus: instead of -sendDanmaku:forceRender: to send the danmakus from a remote servers - */ -- (void)sendDanmaku:(HJDanmakuModel *)danmaku forceRender:(BOOL)force; -- (void)sendDanmakus:(NSArray *)danmakus; - -@end - -//_______________________________________________________________________________________________________________ - -@protocol HJDanmakuViewDateSource - -@required - -// variable cell width support -- (CGFloat)danmakuView:(HJDanmakuView *)danmakuView widthForDanmaku:(HJDanmakuModel *)danmaku; - -// cell display. implementers should *always* try to reuse cells by setting each cell's reuseIdentifier and querying for available reusable cells with dequeueReusableCellWithIdentifier: -- (HJDanmakuCell *)danmakuView:(HJDanmakuView *)danmakuView cellForDanmaku:(HJDanmakuModel *)danmaku; - -@optional - -// current play time, unit second, must implementation when videoModel -- (float)playTimeWithDanmakuView:(HJDanmakuView *)danmakuView; - -// play buffer status, when YES, stop render new danmaku, rendered danmaku in screen will continue anim until disappears, only valid when videoModel -- (BOOL)bufferingWithDanmakuView:(HJDanmakuView *)danmakuView; - -@end diff --git a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Headers/libcomMasonry.h b/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Headers/libcomMasonry.h deleted file mode 100644 index 32fc02c9..00000000 --- a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Headers/libcomMasonry.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// libcomMasonry.h -// libcomMasonry -// -// Created by 4Ndf on 2019/4/15. -// Copyright © 2019年 Dcloud. All rights reserved. -// - -#import - -//! Project version number for libcomMasonry. -FOUNDATION_EXPORT double libcomMasonryVersionNumber; - -//! Project version string for libcomMasonry. -FOUNDATION_EXPORT const unsigned char libcomMasonryVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - -#import "MASUtilities.h" -#import "View+MASAdditions.h" -#import "View+MASShorthandAdditions.h" -#import "ViewController+MASAdditions.h" -#import "NSArray+MASAdditions.h" -#import "NSArray+MASShorthandAdditions.h" -#import "MASConstraint.h" -#import "MASCompositeConstraint.h" -#import "MASViewAttribute.h" -#import "MASViewConstraint.h" -#import "MASConstraintMaker.h" -#import "MASLayoutConstraint.h" -#import "NSLayoutConstraint+MASDebugAdditions.h" diff --git a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Info.plist b/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Info.plist deleted file mode 100644 index 1437ce20..00000000 Binary files a/ios/UniMPSDK/Libs/DCUniVideoPublic.framework/Info.plist and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_navi_sky_day.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_navi_sky_day.data deleted file mode 100644 index 4947a5a9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_navi_sky_day.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_sky_day.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_sky_day.data deleted file mode 100644 index 55a4616e..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_sky_day.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_sky_night.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_sky_night.data deleted file mode 100644 index f789b450..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3d_sky_night.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3dlandscape.xml b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3dlandscape.xml deleted file mode 100644 index 17fbb3a9..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3dlandscape.xml +++ /dev/null @@ -1,112 +0,0 @@ - - v1.0 - - - 1 - - 30 - - 70 - - 40 - - 50 - - 10 - - 45 - - - 100 - - 100 - - 70 - - 40 - - - 100 - - 100 - - 75 - - 3.0 - - 4 - - - 10 - - 0 - - - 15 - - 150 - - 80 - - - 250 - - 25 - - 50 - - - 6.5 - - - 7.0 - - 0 - 174 - 255 - 204 - - - 30 - - 30 - - 7.0 - - 100 - - - - - 29 - - 30 - - 26 - - 4 - - 6 - - - 29 - - 30 - - 26 - - 2 - - 3 - - - 60 - - 120 - - 180 - - 100 - - - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3dportrait.xml b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3dportrait.xml deleted file mode 100644 index 90a616c7..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/3dportrait.xml +++ /dev/null @@ -1,112 +0,0 @@ - - v1.0 - - - 0 - - 30 - - 65 - - 50 - - 50 - - 10 - - 45 - - - 100 - - 100 - - 65 - - 50 - - - 100 - - 100 - - 70 - - 3.0 - - 4 - - - 10 - - 0 - - - 15 - - 150 - - 80 - - - 250 - - 25 - - 50 - - - 6.5 - - - 7.0 - - 0 - 174 - 255 - 204 - - - 30 - - 30 - - 7.0 - - 100 - - - - - 29 - - 30 - - 26 - - 4 - - 6 - - - 29 - - 30 - - 26 - - 2 - - 3 - - - 60 - - 120 - - 180 - - 100 - - - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1015_1.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1015_1.png deleted file mode 100644 index 9af326c5..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1015_1.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1015_2.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1015_2.png deleted file mode 100644 index 0f4044de..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1015_2.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1016_1.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1016_1.png deleted file mode 100644 index 4b34a087..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1016_1.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1016_2.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1016_2.png deleted file mode 100644 index 8e3dd3b1..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/1016_2.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_bk_grass_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_bk_grass_day.png deleted file mode 100644 index 90e0e92d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_bk_grass_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_bk_grass_night.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_bk_grass_night.png deleted file mode 100644 index 28ade07f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_bk_grass_night.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_sky_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_sky_day.png deleted file mode 100644 index 2f0d315d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_sky_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_sky_night.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_sky_night.png deleted file mode 100644 index 0ddc29d0..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/cross_sky_night.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/d_yellow_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/d_yellow_day.png deleted file mode 100644 index 9f756f22..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/d_yellow_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/d_yellow_night.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/d_yellow_night.png deleted file mode 100644 index 4a95f211..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/d_yellow_night.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_main_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_main_day.png deleted file mode 100644 index c8f6316d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_main_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_secondary_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_secondary_day.png deleted file mode 100644 index 677b8b7f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_secondary_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/grass_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/grass_day.png deleted file mode 100644 index a57fe339..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/grass_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/grass_night.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/grass_night.png deleted file mode 100644 index 08203866..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/grass_night.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_day.png deleted file mode 100644 index f3aa02f6..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_night.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_night.png deleted file mode 100644 index 09fdbe82..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_night.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_day.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_day.png deleted file mode 100644 index c3732fec..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_day.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_night.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_night.png deleted file mode 100644 index f9f1ae25..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_night.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/anscii.fnt b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/anscii.fnt deleted file mode 100644 index e3868315..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/anscii.fnt +++ /dev/null @@ -1,191 +0,0 @@ -info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 -common lineHeight=32 base=26 scaleW=256 scaleH=256 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 -page id=0 file="anscii_0.png" -chars count=95 -char id=32 x=110 y=22 width=3 height=1 xoffset=-1 yoffset=31 xadvance=8 page=0 chnl=15 -char id=33 x=199 y=63 width=4 height=20 xoffset=2 yoffset=6 xadvance=8 page=0 chnl=15 -char id=34 x=242 y=79 width=10 height=7 xoffset=0 yoffset=6 xadvance=10 page=0 chnl=15 -char id=35 x=0 y=48 width=16 height=20 xoffset=-1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=36 x=94 y=0 width=15 height=23 xoffset=0 yoffset=5 xadvance=15 page=0 chnl=15 -char id=37 x=161 y=0 width=22 height=20 xoffset=1 yoffset=6 xadvance=24 page=0 chnl=15 -char id=38 x=132 y=21 width=17 height=20 xoffset=1 yoffset=6 xadvance=18 page=0 chnl=15 -char id=39 x=0 y=106 width=5 height=7 xoffset=0 yoffset=6 xadvance=5 page=0 chnl=15 -char id=40 x=47 y=0 width=8 height=25 xoffset=1 yoffset=6 xadvance=9 page=0 chnl=15 -char id=41 x=56 y=0 width=8 height=25 xoffset=1 yoffset=6 xadvance=9 page=0 chnl=15 -char id=42 x=230 y=79 width=11 height=8 xoffset=0 yoffset=6 xadvance=11 page=0 chnl=15 -char id=43 x=187 y=84 width=14 height=12 xoffset=1 yoffset=10 xadvance=16 page=0 chnl=15 -char id=44 x=6 y=106 width=4 height=6 xoffset=2 yoffset=24 xadvance=8 page=0 chnl=15 -char id=45 x=53 y=106 width=9 height=2 xoffset=0 yoffset=18 xadvance=9 page=0 chnl=15 -char id=46 x=209 y=79 width=4 height=2 xoffset=2 yoffset=24 xadvance=8 page=0 chnl=15 -char id=47 x=153 y=63 width=10 height=20 xoffset=-1 yoffset=6 xadvance=8 page=0 chnl=15 -char id=48 x=15 y=69 width=14 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=49 x=164 y=63 width=9 height=20 xoffset=2 yoffset=6 xadvance=15 page=0 chnl=15 -char id=50 x=134 y=42 width=14 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=51 x=59 y=68 width=13 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=52 x=179 y=42 width=14 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=53 x=45 y=69 width=13 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=54 x=194 y=42 width=14 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=55 x=115 y=66 width=13 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=56 x=102 y=45 width=15 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=57 x=118 y=43 width=15 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=58 x=251 y=63 width=4 height=15 xoffset=2 yoffset=11 xadvance=8 page=0 chnl=15 -char id=59 x=204 y=63 width=4 height=19 xoffset=2 yoffset=11 xadvance=8 page=0 chnl=15 -char id=60 x=172 y=84 width=14 height=13 xoffset=1 yoffset=10 xadvance=16 page=0 chnl=15 -char id=61 x=215 y=79 width=14 height=8 xoffset=1 yoffset=12 xadvance=16 page=0 chnl=15 -char id=62 x=157 y=84 width=14 height=13 xoffset=1 yoffset=10 xadvance=16 page=0 chnl=15 -char id=63 x=101 y=68 width=13 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=64 x=0 y=0 width=26 height=26 xoffset=1 yoffset=6 xadvance=27 page=0 chnl=15 -char id=65 x=227 y=0 width=19 height=20 xoffset=-1 yoffset=6 xadvance=18 page=0 chnl=15 -char id=66 x=17 y=48 width=16 height=20 xoffset=1 yoffset=6 xadvance=18 page=0 chnl=15 -char id=67 x=58 y=26 width=18 height=20 xoffset=1 yoffset=6 xadvance=20 page=0 chnl=15 -char id=68 x=168 y=21 width=17 height=20 xoffset=2 yoffset=6 xadvance=20 page=0 chnl=15 -char id=69 x=51 y=47 width=16 height=20 xoffset=1 yoffset=6 xadvance=18 page=0 chnl=15 -char id=70 x=240 y=21 width=15 height=20 xoffset=2 yoffset=6 xadvance=17 page=0 chnl=15 -char id=71 x=0 y=27 width=19 height=20 xoffset=1 yoffset=6 xadvance=21 page=0 chnl=15 -char id=72 x=186 y=21 width=17 height=20 xoffset=1 yoffset=6 xadvance=19 page=0 chnl=15 -char id=73 x=184 y=63 width=4 height=20 xoffset=2 yoffset=6 xadvance=8 page=0 chnl=15 -char id=74 x=129 y=64 width=12 height=20 xoffset=0 yoffset=6 xadvance=13 page=0 chnl=15 -char id=75 x=39 y=26 width=18 height=20 xoffset=1 yoffset=6 xadvance=18 page=0 chnl=15 -char id=76 x=0 y=69 width=14 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=77 x=184 y=0 width=21 height=20 xoffset=1 yoffset=6 xadvance=23 page=0 chnl=15 -char id=78 x=96 y=24 width=17 height=20 xoffset=1 yoffset=6 xadvance=19 page=0 chnl=15 -char id=79 x=206 y=0 width=20 height=20 xoffset=1 yoffset=6 xadvance=21 page=0 chnl=15 -char id=80 x=85 y=47 width=16 height=20 xoffset=1 yoffset=6 xadvance=17 page=0 chnl=15 -char id=81 x=110 y=0 width=21 height=21 xoffset=0 yoffset=6 xadvance=21 page=0 chnl=15 -char id=82 x=77 y=26 width=18 height=20 xoffset=2 yoffset=6 xadvance=20 page=0 chnl=15 -char id=83 x=68 y=47 width=16 height=20 xoffset=1 yoffset=6 xadvance=18 page=0 chnl=15 -char id=84 x=34 y=48 width=16 height=20 xoffset=0 yoffset=6 xadvance=16 page=0 chnl=15 -char id=85 x=204 y=21 width=17 height=20 xoffset=1 yoffset=6 xadvance=19 page=0 chnl=15 -char id=86 x=222 y=21 width=17 height=20 xoffset=0 yoffset=6 xadvance=17 page=0 chnl=15 -char id=87 x=132 y=0 width=28 height=20 xoffset=0 yoffset=6 xadvance=28 page=0 chnl=15 -char id=88 x=150 y=21 width=17 height=20 xoffset=0 yoffset=6 xadvance=17 page=0 chnl=15 -char id=89 x=20 y=27 width=18 height=20 xoffset=0 yoffset=6 xadvance=18 page=0 chnl=15 -char id=90 x=114 y=22 width=17 height=20 xoffset=0 yoffset=6 xadvance=17 page=0 chnl=15 -char id=91 x=73 y=0 width=7 height=25 xoffset=1 yoffset=6 xadvance=8 page=0 chnl=15 -char id=92 x=174 y=63 width=9 height=20 xoffset=-1 yoffset=6 xadvance=8 page=0 chnl=15 -char id=93 x=65 y=0 width=7 height=25 xoffset=0 yoffset=6 xadvance=8 page=0 chnl=15 -char id=94 x=202 y=84 width=12 height=10 xoffset=0 yoffset=6 xadvance=12 page=0 chnl=15 -char id=95 x=35 y=106 width=17 height=2 xoffset=-1 yoffset=29 xadvance=15 page=0 chnl=15 -char id=96 x=28 y=106 width=6 height=4 xoffset=1 yoffset=6 xadvance=9 page=0 chnl=15 -char id=97 x=48 y=90 width=14 height=15 xoffset=0 yoffset=11 xadvance=15 page=0 chnl=15 -char id=98 x=149 y=42 width=14 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=99 x=106 y=89 width=13 height=15 xoffset=0 yoffset=11 xadvance=14 page=0 chnl=15 -char id=100 x=164 y=42 width=14 height=20 xoffset=0 yoffset=6 xadvance=15 page=0 chnl=15 -char id=101 x=0 y=90 width=15 height=15 xoffset=0 yoffset=11 xadvance=15 page=0 chnl=15 -char id=102 x=142 y=63 width=10 height=20 xoffset=-1 yoffset=6 xadvance=7 page=0 chnl=15 -char id=103 x=209 y=42 width=14 height=20 xoffset=0 yoffset=11 xadvance=15 page=0 chnl=15 -char id=104 x=73 y=68 width=13 height=20 xoffset=1 yoffset=6 xadvance=15 page=0 chnl=15 -char id=105 x=189 y=63 width=4 height=20 xoffset=1 yoffset=6 xadvance=6 page=0 chnl=15 -char id=106 x=81 y=0 width=7 height=25 xoffset=-2 yoffset=6 xadvance=6 page=0 chnl=15 -char id=107 x=87 y=68 width=13 height=20 xoffset=1 yoffset=6 xadvance=14 page=0 chnl=15 -char id=108 x=194 y=63 width=4 height=20 xoffset=1 yoffset=6 xadvance=6 page=0 chnl=15 -char id=109 x=209 y=63 width=20 height=15 xoffset=1 yoffset=11 xadvance=22 page=0 chnl=15 -char id=110 x=78 y=89 width=13 height=15 xoffset=1 yoffset=11 xadvance=15 page=0 chnl=15 -char id=111 x=16 y=90 width=15 height=15 xoffset=0 yoffset=11 xadvance=15 page=0 chnl=15 -char id=112 x=30 y=69 width=14 height=20 xoffset=1 yoffset=11 xadvance=15 page=0 chnl=15 -char id=113 x=224 y=42 width=14 height=20 xoffset=0 yoffset=11 xadvance=15 page=0 chnl=15 -char id=114 x=147 y=84 width=9 height=15 xoffset=1 yoffset=11 xadvance=9 page=0 chnl=15 -char id=115 x=63 y=89 width=14 height=15 xoffset=0 yoffset=11 xadvance=14 page=0 chnl=15 -char id=116 x=247 y=0 width=8 height=20 xoffset=0 yoffset=6 xadvance=8 page=0 chnl=15 -char id=117 x=92 y=89 width=13 height=15 xoffset=1 yoffset=11 xadvance=15 page=0 chnl=15 -char id=118 x=32 y=90 width=15 height=15 xoffset=-1 yoffset=11 xadvance=13 page=0 chnl=15 -char id=119 x=230 y=63 width=20 height=15 xoffset=-1 yoffset=11 xadvance=19 page=0 chnl=15 -char id=120 x=134 y=85 width=12 height=15 xoffset=0 yoffset=11 xadvance=12 page=0 chnl=15 -char id=121 x=239 y=42 width=14 height=20 xoffset=0 yoffset=11 xadvance=14 page=0 chnl=15 -char id=122 x=120 y=87 width=13 height=15 xoffset=0 yoffset=11 xadvance=13 page=0 chnl=15 -char id=123 x=37 y=0 width=9 height=25 xoffset=0 yoffset=6 xadvance=9 page=0 chnl=15 -char id=124 x=89 y=0 width=4 height=25 xoffset=1 yoffset=6 xadvance=6 page=0 chnl=15 -char id=125 x=27 y=0 width=9 height=25 xoffset=0 yoffset=6 xadvance=9 page=0 chnl=15 -char id=126 x=11 y=106 width=16 height=4 xoffset=0 yoffset=14 xadvance=16 page=0 chnl=15 -kernings count=91 -kerning first=32 second=65 amount=-2 -kerning first=32 second=84 amount=-1 -kerning first=32 second=89 amount=-1 -kerning first=121 second=46 amount=-2 -kerning first=121 second=44 amount=-2 -kerning first=119 second=46 amount=-2 -kerning first=119 second=44 amount=-2 -kerning first=118 second=46 amount=-2 -kerning first=118 second=44 amount=-2 -kerning first=114 second=46 amount=-2 -kerning first=49 second=49 amount=-2 -kerning first=65 second=32 amount=-2 -kerning first=65 second=84 amount=-2 -kerning first=65 second=86 amount=-2 -kerning first=65 second=87 amount=-1 -kerning first=65 second=89 amount=-2 -kerning first=65 second=118 amount=-1 -kerning first=65 second=119 amount=-1 -kerning first=65 second=121 amount=-1 -kerning first=114 second=44 amount=-2 -kerning first=70 second=44 amount=-3 -kerning first=70 second=46 amount=-3 -kerning first=70 second=65 amount=-2 -kerning first=76 second=32 amount=-1 -kerning first=76 second=84 amount=-2 -kerning first=76 second=86 amount=-2 -kerning first=76 second=87 amount=-2 -kerning first=76 second=89 amount=-2 -kerning first=76 second=121 amount=-1 -kerning first=102 second=102 amount=-1 -kerning first=80 second=32 amount=-1 -kerning first=80 second=44 amount=-4 -kerning first=80 second=46 amount=-4 -kerning first=80 second=65 amount=-2 -kerning first=82 second=84 amount=-1 -kerning first=82 second=86 amount=-1 -kerning first=82 second=87 amount=-1 -kerning first=82 second=89 amount=-1 -kerning first=84 second=32 amount=-1 -kerning first=84 second=44 amount=-3 -kerning first=84 second=45 amount=-2 -kerning first=84 second=46 amount=-3 -kerning first=84 second=58 amount=-3 -kerning first=89 second=118 amount=-2 -kerning first=84 second=65 amount=-2 -kerning first=84 second=79 amount=-1 -kerning first=84 second=97 amount=-3 -kerning first=84 second=99 amount=-3 -kerning first=84 second=101 amount=-3 -kerning first=84 second=105 amount=-1 -kerning first=84 second=111 amount=-3 -kerning first=84 second=114 amount=-1 -kerning first=84 second=115 amount=-3 -kerning first=84 second=117 amount=-1 -kerning first=84 second=119 amount=-2 -kerning first=84 second=121 amount=-2 -kerning first=86 second=44 amount=-3 -kerning first=86 second=45 amount=-2 -kerning first=86 second=46 amount=-3 -kerning first=86 second=58 amount=-1 -kerning first=89 second=117 amount=-2 -kerning first=86 second=65 amount=-2 -kerning first=86 second=97 amount=-2 -kerning first=86 second=101 amount=-2 -kerning first=86 second=105 amount=-1 -kerning first=86 second=111 amount=-2 -kerning first=86 second=114 amount=-1 -kerning first=86 second=117 amount=-1 -kerning first=86 second=121 amount=-1 -kerning first=87 second=44 amount=-2 -kerning first=87 second=45 amount=-1 -kerning first=87 second=46 amount=-2 -kerning first=87 second=58 amount=-1 -kerning first=89 second=113 amount=-3 -kerning first=87 second=65 amount=-1 -kerning first=87 second=97 amount=-1 -kerning first=87 second=101 amount=-1 -kerning first=89 second=112 amount=-2 -kerning first=87 second=111 amount=-1 -kerning first=87 second=114 amount=-1 -kerning first=87 second=117 amount=-1 -kerning first=89 second=111 amount=-3 -kerning first=89 second=32 amount=-1 -kerning first=89 second=44 amount=-4 -kerning first=89 second=45 amount=-3 -kerning first=89 second=46 amount=-4 -kerning first=89 second=58 amount=-2 -kerning first=89 second=105 amount=-1 -kerning first=89 second=65 amount=-2 -kerning first=89 second=97 amount=-2 -kerning first=89 second=101 amount=-3 diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/anscii_0.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/anscii_0.png deleted file mode 100644 index 7fb41bd6..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/anscii_0.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/arrow_topface.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/arrow_topface.data deleted file mode 100644 index 196ce022..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/arrow_topface.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/bktile.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/bktile.data deleted file mode 100644 index 6fdf33bd..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/bktile.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/bktile_n.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/bktile_n.data deleted file mode 100644 index e2440435..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/bktile_n.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/building.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/building.data deleted file mode 100644 index 28530a86..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/building.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_1_16_1560339683.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_1_16_1560339683.data deleted file mode 100644 index 3244f35a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_1_16_1560339683.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_1_17_1598583696.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_1_17_1598583696.data deleted file mode 100644 index d0e28838..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_1_17_1598583696.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_2_16_1560339691.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_2_16_1560339691.data deleted file mode 100644 index 572068a9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_2_16_1560339691.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_2_17_1594715854.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_2_17_1594715854.data deleted file mode 100644 index e19cee2c..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/config_2_17_1594715854.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/crossing_day_bk.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/crossing_day_bk.data deleted file mode 100644 index fff1b61e..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/crossing_day_bk.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/crossing_nigth_bk.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/crossing_nigth_bk.data deleted file mode 100644 index 928155e9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/crossing_nigth_bk.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash.data deleted file mode 100644 index da1b48fb..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash_cd.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash_cd.data deleted file mode 100644 index 3a590327..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash_cd.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash_tq.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash_tq.data deleted file mode 100644 index c721927f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/dash_tq.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons-for_custom_5_14.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons-for_custom_5_14.data deleted file mode 100644 index 27bd2723..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons-for_custom_5_14.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_10_17_1597738891.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_10_17_1597738891.data deleted file mode 100644 index 4a4ffb1c..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_10_17_1597738891.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_1_16_1561444603.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_1_16_1561444603.data deleted file mode 100755 index 6e16ce13..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_1_16_1561444603.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_1_17_1597895142.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_1_17_1597895142.data deleted file mode 100644 index 3319a0af..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_1_17_1597895142.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_25_16_1560344307.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_25_16_1560344307.data deleted file mode 100644 index aab2d3a2..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_25_16_1560344307.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_2_16_1560344131.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_2_16_1560344131.data deleted file mode 100755 index 1a3740a4..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_2_16_1560344131.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_2_17_1597738874.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_2_17_1597738874.data deleted file mode 100644 index 234fdb2b..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_2_17_1597738874.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_3_16_1560517561.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_3_16_1560517561.data deleted file mode 100755 index a8d0e1ce..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_3_16_1560517561.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_3_17_1597738877.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_3_17_1597738877.data deleted file mode 100644 index 7d5514fe..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_3_17_1597738877.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_40_17_1597739013.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_40_17_1597739013.data deleted file mode 100644 index 13904077..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_40_17_1597739013.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_4_16_1560344142.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_4_16_1560344142.data deleted file mode 100755 index 3d4dffc7..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_4_16_1560344142.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_4_17_1594719480.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_4_17_1594719480.data deleted file mode 100644 index 501415b5..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_4_17_1594719480.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_50_16_1541648499.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_50_16_1541648499.data deleted file mode 100755 index e8096878..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_50_16_1541648499.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_50_17_1594748499.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_50_17_1594748499.data deleted file mode 100644 index a0c13dd8..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_50_17_1594748499.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_5_16_1561028345.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_5_16_1561028345.data deleted file mode 100644 index f6a95b9c..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_5_16_1561028345.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_5_17_1597739000.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_5_17_1597739000.data deleted file mode 100644 index c5f2b6e2..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_5_17_1597739000.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_6_16_1560344646.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_6_16_1560344646.data deleted file mode 100755 index 011b76b4..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_6_16_1560344646.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_6_17_1594719483.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_6_17_1594719483.data deleted file mode 100644 index 38ef84af..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_6_17_1594719483.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_7_16_1560344652.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_7_16_1560344652.data deleted file mode 100755 index c252d88d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_7_16_1560344652.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_8_16_1560344658.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_8_16_1560344658.data deleted file mode 100755 index 71c15da7..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_8_16_1560344658.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_9_16_1560344664.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_9_16_1560344664.data deleted file mode 100755 index 232f62d7..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/icons_9_16_1560344664.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/lineround.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/lineround.data deleted file mode 100644 index 0231b37d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/lineround.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_1_16_1560563265.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_1_16_1560563265.data deleted file mode 100644 index 3ff00be9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_1_16_1560563265.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_1_17_1594760814.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_1_17_1594760814.data deleted file mode 100644 index 1b66ec4e..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_1_17_1594760814.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_2_16_1560563265.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_2_16_1560563265.data deleted file mode 100644 index f5e481ae..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_2_16_1560563265.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_2_17_1594770801.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_2_17_1594770801.data deleted file mode 100644 index 2b20a0db..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/mapprofile_2_17_1594770801.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/roadarrow.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/roadarrow.data deleted file mode 100644 index 915091c6..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/roadarrow.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/search_scenic_icon.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/search_scenic_icon.data deleted file mode 100644 index d103f2f9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/search_scenic_icon.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style-for-custom_0_17_1594719935.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style-for-custom_0_17_1594719935.data deleted file mode 100644 index 2c9b09e3..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style-for-custom_0_17_1594719935.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style-for_custom_0_16_1561381751.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style-for_custom_0_16_1561381751.data deleted file mode 100644 index 2d1fd63c..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style-for_custom_0_16_1561381751.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_0_16_1561381751.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_0_16_1561381751.data deleted file mode 100644 index 951597f9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_0_16_1561381751.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_0_17_1594719935.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_0_17_1594719935.data deleted file mode 100644 index f409259a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_0_17_1594719935.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_100_16_1561026477.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_100_16_1561026477.data deleted file mode 100644 index b647d7ae..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_100_16_1561026477.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_100_17_1597738792.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_100_17_1597738792.data deleted file mode 100644 index 84d90091..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_100_17_1597738792.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_101_17_1594715411.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_101_17_1594715411.data deleted file mode 100644 index 7c58cf85..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_101_17_1594715411.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_17_16_1561023816.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_17_16_1561023816.data deleted file mode 100644 index 190082ba..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_17_16_1561023816.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_17_17_1594715345.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_17_17_1594715345.data deleted file mode 100644 index 680f2c8f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_17_17_1594715345.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_18_17_1598951705.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_18_17_1598951705.data deleted file mode 100644 index 7b08e976..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_18_17_1598951705.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_1_16_1562032355.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_1_16_1562032355.data deleted file mode 100644 index 9a2e4b86..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_1_16_1562032355.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_1_17_1598932719.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_1_17_1598932719.data deleted file mode 100644 index 76829e26..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_1_17_1598932719.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_3_16_1561987623.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_3_16_1561987623.data deleted file mode 100644 index 6ca2b215..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_3_16_1561987623.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_3_17_1596079144.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_3_17_1596079144.data deleted file mode 100644 index 4ec6330d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_3_17_1596079144.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_4_16_1561711243.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_4_16_1561711243.data deleted file mode 100644 index 0f08fd44..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_4_16_1561711243.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_4_17_1598940176.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_4_17_1598940176.data deleted file mode 100644 index 07577777..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_4_17_1598940176.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_50_16_1501671321.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_50_16_1501671321.data deleted file mode 100644 index 71a8bb2a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_50_16_1501671321.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_50_17_1594771321.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_50_17_1594771321.data deleted file mode 100644 index 71a8bb2a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_50_17_1594771321.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_5_16_1561711250.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_5_16_1561711250.data deleted file mode 100644 index a875e010..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_5_16_1561711250.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_5_17_1598940139.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_5_17_1598940139.data deleted file mode 100644 index ded21ed4..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_5_17_1598940139.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_6_16_1562032423.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_6_16_1562032423.data deleted file mode 100644 index 293161b3..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_6_16_1562032423.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_6_17_1598951684.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_6_17_1598951684.data deleted file mode 100644 index 727e7d9a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/style_6_17_1598951684.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/styleiconslist.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/styleiconslist.data deleted file mode 100644 index 193916b2..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/styleiconslist.data +++ /dev/null @@ -1,34 +0,0 @@ -33 -config_1_17_1598583696.data -config_2_17_1594715854.data -icons_10_17_1597738891.data -icons_1_17_1597895142.data -icons_24_17_1597738974.data -icons_25_17_1597739007.data -icons_2_17_1597738874.data -icons_3_17_1597738877.data -icons_40_17_1597739013.data -icons_41_17_1598535255.data -icons_4_17_1594719480.data -icons_50_17_1594748499.data -icons_5_17_1597739000.data -icons_6_17_1594719483.data -mapprofile_1_17_1594760814.data -mapprofile_2_17_1594770801.data -style_0_17_1594719935.data -style_100_17_1597738792.data -style_101_17_1594715411.data -style_16_17_1594715308.data -style_17_17_1594715345.data -style_18_17_1598951705.data -style_19_17_1594715322.data -style_1_17_1598932719.data -style_25_17_1596520587.data -style_26_17_1594715203.data -style_29_17_1594715223.data -style_3_17_1596079144.data -style_4_17_1598940176.data -style_50_17_1594771321.data -style_5_17_1598940139.data -style_6_17_1598951684.data -style_8_17_1598951648.data diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_allinone.data deleted file mode 100644 index 67772247..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_blind_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_blind_allinone.data deleted file mode 100644 index 53ea9b33..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_blind_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_l_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_l_allinone.data deleted file mode 100644 index b74a4028..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_l_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_n_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_n_allinone.data deleted file mode 100644 index 272e10bc..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc3d_n_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_allinone.data deleted file mode 100644 index 22cc8556..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_blind_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_blind_allinone.data deleted file mode 100644 index cccf2688..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_blind_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_l_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_l_allinone.data deleted file mode 100644 index 4b924197..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_l_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_n_allinone.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_n_allinone.data deleted file mode 100644 index 5726855a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/tmc_n_allinone.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/waterline.data b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/waterline.data deleted file mode 100644 index 96f117db..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/waterline.data and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/fog.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/fog.png deleted file mode 100644 index 35473042..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/fog.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/haze.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/haze.png deleted file mode 100644 index e24725a8..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/haze.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/rain.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/rain.png deleted file mode 100644 index a8a065bb..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/rain.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/rainmask.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/rainmask.png deleted file mode 100644 index d569c730..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/rainmask.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/shanbai.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/shanbai.png deleted file mode 100644 index b3ecc3f0..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/shanbai.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/shandianyun.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/shandianyun.png deleted file mode 100644 index af6f8ef5..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/shandianyun.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snow.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snow.png deleted file mode 100644 index 984abebe..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snow.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snow_far.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snow_far.png deleted file mode 100644 index 608b8248..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snow_far.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snowmask.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snowmask.png deleted file mode 100644 index ff7eb0da..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/snowmask.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/yunhou.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/yunhou.png deleted file mode 100644 index 6486b261..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/yunhou.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/yunqian.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/yunqian.png deleted file mode 100644 index 12d47f93..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/AMap3D.bundle/weather/yunqian.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/GNaviConfig.xml b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/GNaviConfig.xml deleted file mode 100755 index 28b2624e..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/GNaviConfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - ./data/ - ./diff/ - ./res780/ - ./log/ - - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_inner.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_inner.png deleted file mode 100644 index 11a0b1ab..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_inner.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_outer.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_outer.png deleted file mode 100644 index f2b40cb9..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_outer.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_shadow.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_shadow.png deleted file mode 100644 index e531d683..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_3d_shadow.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_inner.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_inner.png deleted file mode 100644 index 6c3e709f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_inner.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_outer.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_outer.png deleted file mode 100644 index 26ddb2c5..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/arrow_line_outer.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/calloutArrowMask.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/calloutArrowMask.png deleted file mode 100644 index a89c653e..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/calloutArrowMask.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/calloutArrowMask@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/calloutArrowMask@2x.png deleted file mode 100644 index f3e2cf23..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/calloutArrowMask@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin.png deleted file mode 100644 index 20d04246..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin@2x.png deleted file mode 100644 index 54d04604..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin@3x.png deleted file mode 100644 index cd5c6a31..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift.png deleted file mode 100644 index 48f5c1ba..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift@2x.png deleted file mode 100644 index 20d15d7b..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift@3x.png deleted file mode 100644 index f2598b75..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/greenPin_lift@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineDashTexture.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineDashTexture.png deleted file mode 100644 index 20c7df8f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineDashTexture.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineDashTextureDot.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineDashTextureDot.png deleted file mode 100644 index 1092c26b..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineDashTextureDot.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineTexture.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineTexture.png deleted file mode 100644 index a3d7e71d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineTexture.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineTextureThin.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineTextureThin.png deleted file mode 100644 index 47553620..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/lineTextureThin.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/marker_blue.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/marker_blue.png deleted file mode 100644 index 63686150..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/marker_blue.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/marker_blue@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/marker_blue@2x.png deleted file mode 100644 index ddb06df8..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/marker_blue@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_clear@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_clear@2x.png deleted file mode 100644 index aed36590..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_clear@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_down@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_down@2x.png deleted file mode 100644 index b950a2fe..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_down@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_shouqi@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_shouqi@2x.png deleted file mode 100755 index 9ac82af3..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_shouqi@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_shouqi_2@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_shouqi_2@2x.png deleted file mode 100644 index b00a79bc..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_shouqi_2@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_sousuo@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_sousuo@2x.png deleted file mode 100644 index 23eed114..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_sousuo@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_zhankai@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_zhankai@2x.png deleted file mode 100644 index 00566746..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_zhankai@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_zhankai_2@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_zhankai_2@2x.png deleted file mode 100644 index 86ce2478..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/offline_zhankai_2@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_fog.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_fog.png deleted file mode 100644 index f1aa1e77..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_fog.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_haze.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_haze.png deleted file mode 100644 index e24725a8..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_haze.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_rain.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_rain.png deleted file mode 100644 index bcb304be..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_rain.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_snow.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_snow.png deleted file mode 100644 index 984abebe..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_snow.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_sun_0.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_sun_0.png deleted file mode 100644 index 8ffaeead..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_sun_0.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_sun_1.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_sun_1.png deleted file mode 100644 index b57761e4..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/particle_sun_1.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow.png deleted file mode 100644 index 4f85ff13..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow@2x.png deleted file mode 100644 index 8acfc67a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow@3x.png deleted file mode 100644 index fc166589..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/pin_shadow@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin.png deleted file mode 100644 index ffe3892d..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin@2x.png deleted file mode 100644 index 4a08cf2f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin@3x.png deleted file mode 100644 index 2f92d11c..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift.png deleted file mode 100644 index bf1f8f4b..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift@2x.png deleted file mode 100644 index ef2b2a6c..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift@3x.png deleted file mode 100644 index d58f14fb..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/purplePin_lift@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin.png deleted file mode 100644 index 1cf47446..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin@2x.png deleted file mode 100644 index 08822721..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin@3x.png deleted file mode 100644 index 2a66034a..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift.png deleted file mode 100644 index 24c4b9a6..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift@2x.png deleted file mode 100644 index cfee8aa2..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift@3x.png deleted file mode 100644 index 5d90fa38..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/redPin_lift@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_.png deleted file mode 100644 index 5889ed2f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_@2x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_@2x.png deleted file mode 100644 index 5889ed2f..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_@3x.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_@3x.png deleted file mode 100644 index dd955cd5..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/select_@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_blue.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_blue.png deleted file mode 100644 index c54767ed..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_blue.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_darkred.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_darkred.png deleted file mode 100644 index 7935f1a0..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_darkred.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_gray.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_gray.png deleted file mode 100644 index 2a368422..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_gray.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_green.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_green.png deleted file mode 100644 index 1cad28c2..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_green.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_red.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_red.png deleted file mode 100644 index fccb8983..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_red.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_yellow.png b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_yellow.png deleted file mode 100644 index b222b87e..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/images/traffic_texture_yellow.png and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/offline/offlinePackage.plist b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/offline/offlinePackage.plist deleted file mode 100644 index 786118a1..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/offline/offlinePackage.plist and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/res.ck b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/res.ck deleted file mode 100644 index 740c2463..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/res.ck +++ /dev/null @@ -1 +0,0 @@ -4e1c13d45bd20d929cf9fdfdaab52e59 diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/res.zip b/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/res.zip deleted file mode 100644 index 7a9854dc..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/AMap.bundle/res.zip and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnimatedAnnotation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnimatedAnnotation.h deleted file mode 100644 index 364c20db..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnimatedAnnotation.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// MAAnimatedAnnotation.h -// MAMapKit -// -// Created by shaobin on 16/12/8. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import "MAPointAnnotation.h" -#import "MAAnnotationMoveAnimation.h" - -///支持动画效果的点标注 -@interface MAAnimatedAnnotation : MAPointAnnotation - -///移动方向. since 4.5.0 -@property (nonatomic, assign) CLLocationDirection movingDirection; - -/** - @brief 添加移动动画, 第一个添加的动画以当前coordinate为起始点,沿传入的coordinates点移动,否则以上一个动画终点为起始点. since 4.5.0 - @param coordinates c数组,由调用者负责coordinates指向内存的管理 - @param count coordinates数组大小 - @param duration 动画时长,0或<0为无动画 - @param name 名字,如不指定可传nil - @param completeCallback 动画完成回调,isFinished: 动画是否执行完成 - */ -- (MAAnnotationMoveAnimation *)addMoveAnimationWithKeyCoordinates:(CLLocationCoordinate2D *)coordinates - count:(NSUInteger)count - withDuration:(CGFloat)duration - withName:(NSString *)name - completeCallback:(void(^)(BOOL isFinished))completeCallback; - -/** - @brief 添加移动动画, 第一个添加的动画以当前coordinate为起始点,沿传入的coordinates点移动,否则以上一个动画终点为起始点. since 5.4.0 - @param coordinates c数组,由调用者负责coordinates指向内存的管理 - @param count coordinates数组大小 - @param duration 动画时长,0或<0为无动画 - @param name 名字,如不指定可传nil - @param completeCallback 动画完成回调,isFinished: 动画是否执行完成 - @param stepCallback 动画每一帧回调 - */ -- (MAAnnotationMoveAnimation *)addMoveAnimationWithKeyCoordinates:(CLLocationCoordinate2D *)coordinates - count:(NSUInteger)count - withDuration:(CGFloat)duration - withName:(NSString *)name - completeCallback:(void(^)(BOOL isFinished))completeCallback - stepCallback:(void(^)(MAAnnotationMoveAnimation* currentAni))stepCallback; - -/** - * @brief 获取所有未完成的移动动画, 返回数组内为MAAnnotationMoveAnimation对象. since 4.5.0 - * @return 返回所有移动动画,数组内元素类型为 MAAnnotationMoveAnimation - */ -- (NSArray *)allMoveAnimations; - -/** - * @brief 设置需要开始动画,自定义其他类型动画时需要调用. since 6.0.0 - */ -- (void)setNeedsStart; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotation.h deleted file mode 100755 index 712aa0f1..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotation.h +++ /dev/null @@ -1,69 +0,0 @@ -// -// MAAnnotation.h -// MAMapKit -// -// Created by yin cai on 11-12-13. -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import -#import -#import "MAGeometry.h" - -///该类为标注点的protocol,提供了标注类的基本信息函数 -@protocol MAAnnotation - -///标注view中心坐标 -@property (nonatomic, readonly) CLLocationCoordinate2D coordinate; - -@optional - -///annotation标题 -@property (nonatomic, copy) NSString *title; - -///annotation副标题 -@property (nonatomic, copy) NSString *subtitle; - -/** - * @brief 设置标注的坐标,在拖拽时会被调用. - * @param newCoordinate 新的坐标值 - */ -- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate; - -@end - -/** - * 支持动画需要实现的协议. since 4.5.0 - */ -@protocol MAAnimatableAnnotation - -@required -/** - * @brief 动画帧更新回调接口,实现者可在内部做更新处理,如更新coordinate. (since 4.5.0) - * @param timeDelta 时间步长,单位秒 - */ -- (void)step:(CGFloat)timeDelta; - -/** - * @brief 动画是否已完成. 通过此方法判断是否需要将动画annotation移出渲染执行过程。(since 4.5.0) - * @return YES动画已完成,NO没有完成 - */ -- (BOOL)isAnimationFinished; - -/** - * @brief 动画是否可以开始. 通过此方法判断是否需要将动画annotation加入渲染过程,已经start且尚未finish的动画标注才会调用step方法。(since 6.0.0) - * @return YES 可以开始,NO 尚未开始。 - */ -- (BOOL)shouldAnimationStart; - -@optional -/** - * @brief 动画更新时调用此接口,获取annotationView的旋转角度,不实现默认为0. (since 4.5.0) - * @return 当前annotation的旋转角度 - */ -- (CLLocationDirection)rotateDegree; - - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotationMoveAnimation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotationMoveAnimation.h deleted file mode 100644 index b039d7b5..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotationMoveAnimation.h +++ /dev/null @@ -1,65 +0,0 @@ -// -// MAAnnotationMoveAnimation.h -// MAMapKit -// -// Created by shaobin on 16/11/21. -// Copyright © 2016 Amap. All rights reserved. -// - - -#import "MAConfig.h" -#import -#import "MAAnnotation.h" - -///annotation移动动画. since 4.5.0 -@interface MAAnnotationMoveAnimation : NSObject - -/** - * @brief 获取动画名字 - * @return 添加动画时传入的名字 - */ -- (NSString *)name; - -/** - * @brief 获取经纬度坐标点数组 - * @return 返回经纬度坐标点数组 - */ -- (CLLocationCoordinate2D *)coordinates; - -/** - * @brief 获取coordinates数组内坐标点个数 - * @return coordinates数组内坐标点个数 - */ -- (NSUInteger)count; - -/** - * @brief 获取动画时长 - * @return 动画时长 - */ -- (CGFloat)duration; - -/** - * @brief 获取动画已执行的时长 - * @return 动画已执行的时长 - */ -- (CGFloat)elapsedTime; - -/** - * @brief 取消 - */ -- (void)cancel; - -/** - * @brief 是否已取消 - * @return YES已取消,NO未取消 - */ -- (BOOL)isCancelled; - -/** - * @brief 获取当前动画已走过点的总个数 - * @return 个数 - */ -- (NSInteger)passedPointCount; - - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotationView.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotationView.h deleted file mode 100644 index 4ef3f533..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAAnnotationView.h +++ /dev/null @@ -1,106 +0,0 @@ -// -// MAAnnotationView.h -// MAMapKitDemo -// -// Created by songjian on 13-1-7. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MACustomCalloutView.h" - -///MAAnnotationView拖动状态 -typedef NS_ENUM(NSInteger, MAAnnotationViewDragState) -{ - MAAnnotationViewDragStateNone = 0, ///< 静止状态 - MAAnnotationViewDragStateStarting, ///< 开始拖动 - MAAnnotationViewDragStateDragging, ///< 拖动中 - MAAnnotationViewDragStateCanceling, ///< 取消拖动 - MAAnnotationViewDragStateEnding ///< 拖动结束 -}; - -@protocol MAAnnotation; - -///标注view -@interface MAAnnotationView : UIView - -///复用标识 -@property (nonatomic, readonly, copy) NSString *reuseIdentifier; - -///z值,大值在上,默认为0。类似CALayer的zPosition。zIndex属性只有在viewForAnnotation或者didAddAnnotationViews回调中设置有效。 -@property (nonatomic, assign) NSInteger zIndex; - -///关联的annotation -@property (nonatomic, strong) id annotation; - -///显示的image -@property (nonatomic, strong) UIImage *image; - -///image所对应的UIImageView since 5.0.0 -@property (nonatomic, strong, readonly) UIImageView *imageView; - -///自定制弹出框view, 用于替换默认弹出框. 注意:此弹出框不会触发-(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0 -@property (nonatomic, strong) MACustomCalloutView *customCalloutView; - -///annotationView的中心默认位于annotation的坐标位置,可以设置centerOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是屏幕坐标 -@property (nonatomic) CGPoint centerOffset; - -///弹出框默认位于view正中上方,可以设置calloutOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是屏幕坐标 -@property (nonatomic) CGPoint calloutOffset; - -///默认为YES,当为NO时view忽略触摸事件 -@property (nonatomic, getter=isEnabled) BOOL enabled; - -///是否高亮 -@property (nonatomic, getter=isHighlighted) BOOL highlighted; - -///设置是否处于选中状态, 外部如果要选中请使用mapView的selectAnnotation方法 -@property (nonatomic, getter=isSelected) BOOL selected; - -///是否允许弹出callout -@property (nonatomic) BOOL canShowCallout; - -///显示在默认弹出框左侧的view -@property (nonatomic, strong) UIView *leftCalloutAccessoryView; - -///显示在默认弹出框右侧的view -@property (nonatomic, strong) UIView *rightCalloutAccessoryView; - -///是否支持拖动 -@property (nonatomic, getter=isDraggable) BOOL draggable; - -///当前view的拖动状态 -@property (nonatomic) MAAnnotationViewDragState dragState; - -///弹出默认弹出框时,是否允许地图调整到合适位置来显示弹出框,默认为YES -@property (nonatomic) BOOL canAdjustPositon; - -/** - * @brief 设置是否处于选中状态, 外部如果要选中请使用mapView的selectAnnotation方法 - * @param selected 是否选中 - * @param animated 是否使用动画效果 - */ -- (void)setSelected:(BOOL)selected animated:(BOOL)animated; - -/** - * @brief 初始化并返回一个annotation view - * @param annotation 关联的annotation对象 - * @param reuseIdentifier 如果要重用view,传入一个字符串,否则设为nil,建议重用view - * @return 初始化成功则返回annotation view,否则返回nil - */ -- (id)initWithAnnotation:(id )annotation reuseIdentifier:(NSString *)reuseIdentifier; - -/** - * @brief 当从reuse队列里取出时被调用, 子类重新必须调用super - */ -- (void)prepareForReuse; - -/** - * @brief 设置view的拖动状态 - * @param newDragState 新的拖动状态 - * @param animated 是否使用动画动画 - */ -- (void)setDragState:(MAAnnotationViewDragState)newDragState animated:(BOOL)animated; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAArc.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAArc.h deleted file mode 100644 index 6b879c73..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAArc.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// MAArc.h -// MAMapKit -// -// Created by liubo on 2018/4/10. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_ARC - -#import "MAShape.h" -#import "MAOverlay.h" - -///该类用于定义一个圆弧, 通常MAArc是MAArcRenderer的model -@interface MAArc : MAShape - -///起点经纬度坐标,无效坐标按照{0,0}处理 -@property (nonatomic, assign) CLLocationCoordinate2D startCoordinate; - -///途径点经纬度坐标,无效坐标按照{0,0}处理 -@property (nonatomic, assign) CLLocationCoordinate2D passedCoordinate; - -///终点经纬度坐标,无效坐标按照{0,0}处理 -@property (nonatomic, assign) CLLocationCoordinate2D endCoordinate; - -///该圆弧的外接MapRect -@property (nonatomic, readonly) MAMapRect boundingMapRect; - -/** - * @brief 根据起点、途经点和终点生成圆弧 - * @param startCoordinate 起点的经纬度坐标,无效坐标按照{0,0}处理 - * @param passedCoordinate 途径点的经纬度坐标,无效坐标按照{0,0}处理 - * @param endCoordinate 终点的经纬度坐标,无效坐标按照{0,0}处理 - * @return 新生成的圆弧 - */ -+ (instancetype)arcWithStartCoordinate:(CLLocationCoordinate2D)startCoordinate - passedCoordinate:(CLLocationCoordinate2D)passedCoordinate - endCoordinate:(CLLocationCoordinate2D)endCoordinate; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAArcRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAArcRenderer.h deleted file mode 100644 index 2e10db4d..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAArcRenderer.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// MAArcRenderer.h -// MAMapKit -// -// Created by liubo on 2018/4/10. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_ARC - -#import "MAArc.h" -#import "MAOverlayPathRenderer.h" - -///此类用于绘制MAArc,可以通过MAOverlayPathRenderer修改其stroke attributes -@interface MAArcRenderer : MAOverlayPathRenderer - -///关联的MAArc model -@property (nonatomic, readonly) MAArc *arc; - -/** - * @brief 根据指定的MAArc生成一个圆弧Renderer - * @param arc 指定MAArc - * @return 新生成的圆弧Renderer - */ -- (instancetype)initWithArc:(MAArc *)arc; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACircle.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACircle.h deleted file mode 100755 index 6442c352..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACircle.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// MACircle.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. - -#import "MAConfig.h" -#import "MAShape.h" -#import "MAOverlay.h" -#import "MAGeometry.h" - -///该类用于定义一个圆, 通常MACircle是MACircleView的model -@interface MACircle : MAShape { - @package - MAMapRect _boundingMapRect; -} - -///设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持MAPolgon类型和MACircle类型,不支持与此circle边相交或在circle外部,不支持hollowShapes彼此间相交,和空洞顺序有关,不支持嵌套. since 5.5.0 -@property (nonatomic, strong) NSArray> *hollowShapes; - -///中心点经纬度坐标,无效坐标按照{0,0}处理 -@property (nonatomic, assign) CLLocationCoordinate2D coordinate; - -///半径,单位:米 负数按照0处理 -@property (nonatomic, assign) CLLocationDistance radius; - -///该圆的外接map rect -@property (nonatomic, readonly) MAMapRect boundingMapRect; - -/** - * @brief 根据中心点和半径生成圆 - * @param coord 中心点的经纬度坐标,无效坐标按照{0,0}处理 - * @param radius 半径,单位:米, 负数按照0处理 - * @return 新生成的圆 - */ -+ (instancetype)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord - radius:(CLLocationDistance)radius; - -/** - * @brief 根据map rect生成圆 - * @param mapRect mapRect 圆的最小外界矩形 - * @return 新生成的圆 - */ -+ (instancetype)circleWithMapRect:(MAMapRect)mapRect; - -/** - * @brief 设置圆的中心点和半径. since 5.0.0 - * @param coord 中心点的经纬度坐标,无效坐标按照{0,0}处理 - * @param radius 半径,单位:米 负数按照0处理 - * @return 是否设置成功 - */ -- (BOOL)setCircleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACircleRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACircleRenderer.h deleted file mode 100755 index 389026ef..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACircleRenderer.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// MACircleRenderer.h -// MAMapKit -// -// Created by yin cai on 11-12-30. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import "MACircle.h" -#import "MAOverlayPathRenderer.h" - -///该类是MACircle的显示圆Renderer,可以通过MAOverlayPathRenderer修改其fill和stroke attributes -@interface MACircleRenderer : MAOverlayPathRenderer - -///关联的MAcirlce model -@property (nonatomic, readonly) MACircle *circle; - -/** - * @brief 根据指定圆生成对应的Renderer - * @param circle 指定的MACircle model - * @return 生成的Renderer - */ -- (instancetype)initWithCircle:(MACircle *)circle; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAConfig.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAConfig.h deleted file mode 100644 index 5c2fd231..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAConfig.h +++ /dev/null @@ -1,89 +0,0 @@ -// -// MAConfig.h -// MAMapKit -// -// Created by shaobin on 16/10/24. -// Copyright © 2016 Amap. All rights reserved. -// -// Public version - -#ifndef MAConfig_h -#define MAConfig_h - -#ifndef MA_INCLUDE_OFFLINE -#define MA_INCLUDE_OFFLINE 1 -#endif - -#ifndef MA_INCLUDE_TRACE_CORRECT -#define MA_INCLUDE_TRACE_CORRECT 1 -#endif - -#ifndef MA_INCLUDE_INDOOR -#define MA_INCLUDE_INDOOR 1 -#endif - -#ifndef MA_INCLUDE_CACHE -#define MA_INCLUDE_CACHE 1 -#endif - -#ifndef MA_INCLUDE_CUSTOM_MAP_STYLE -#define MA_INCLUDE_CUSTOM_MAP_STYLE 1 -#endif - -#ifndef MA_INCLUDE_WORLD_EN_MAP -#define MA_INCLUDE_WORLD_EN_MAP 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_TILE -#define MA_INCLUDE_OVERLAY_TILE 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_HEATMAP -#define MA_INCLUDE_OVERLAY_HEATMAP 1 -#endif - -#ifndef MA_INCLUDE_QUARDTREE -#define MA_INCLUDE_QUARDTREE 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_ARC -#define MA_INCLUDE_OVERLAY_ARC 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_CUSTOMBUILDING -#define MA_INCLUDE_OVERLAY_CUSTOMBUILDING 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_GROUND -#define MA_INCLUDE_OVERLAY_GROUND 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_GEODESIC -#define MA_INCLUDE_OVERLAY_GEODESIC 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_MAMultiPolyline -#define MA_INCLUDE_OVERLAY_MAMultiPolyline 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_MAMultiPoint -#define MA_INCLUDE_OVERLAY_MAMultiPoint 1 -#endif - -#ifndef MA_INCLUDE_OVERLAY_ParticleSystem -#define MA_INCLUDE_OVERLAY_ParticleSystem 1 -#endif - -#ifndef MA_INCLUDE_3DModel -#define MA_INCLUDE_3DModel 1 -#endif - -#ifndef MA_INCLUDE_OVERSEA -#define MA_INCLUDE_OVERSEA 0 -#endif - -#ifndef MA_ENABLE_ThirdPartyLog -#define MA_ENABLE_ThirdPartyLog 0 -#endif - -#endif /* MAConfig_h */ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomBuildingOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomBuildingOverlay.h deleted file mode 100644 index 3456235a..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomBuildingOverlay.h +++ /dev/null @@ -1,80 +0,0 @@ -// -// MACustomBuildingOverlay.h -// MAMapKit -// -// Created by liubo on 2018/5/23. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_CUSTOMBUILDING - -#import "MAShape.h" -#import "MAOverlay.h" -#import "MAMultiPoint.h" - -#pragma mark - MACustomBuildingOverlayOption - -///该类用于定义一个楼块显示选项. since 6.3.0 -@interface MACustomBuildingOverlayOption : MAMultiPoint - -///楼块的高度. 修改该属性会使option范围内的所有楼块为同一个高度. (范围 (-1 U [1, 1000]). 默认-1,显示为默认高度.) -@property (nonatomic, assign) CGFloat height; - -///楼块的高度缩放比例. 修改该属性会使option范围内的所有楼块高度放大或者缩小heightScale倍. (默认1. 如果指定了height则此值将被忽略.) -@property (nonatomic, assign) CGFloat heightScale; - -///楼块的顶面颜色. (默认[UIColor lightGrayColor], 不支持透明度) -@property (nonatomic, strong) UIColor *topColor; - -///楼块的侧面颜色. (默认[UIColor darkGrayColor], 不支持透明度) -@property (nonatomic, strong) UIColor *sideColor; - -///option选项是否可见. (默认YES) -@property (nonatomic, assign) BOOL visibile; - -/** - * @brief 根据经纬度坐标数据生成楼块显示选项option - * @param coords 经纬度坐标点数据,coords对应的内存会拷贝,调用者负责该内存的释放 - * @param count 经纬度坐标点数组个数 - * @return 新生成的楼块显示选项option - */ -+ (instancetype)optionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; - -/** - * @brief 重新设置option范围. - * @param coords 指定的经纬度坐标点数组, C数组,内部会做copy,调用者负责内存管理 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setOptionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; - -@end - - -#pragma mark - MACustomBuildingOverlay - -///该类用于定义一个自定义楼块MACustomBuildingOverlay, 通常MACustomBuildingOverlay是MACustomBuildingOverlayRenderer的model.(注意: 自定义楼块仅支持在zoomLevel>=15级时显示) since 6.3.0 -@interface MACustomBuildingOverlay : MAShape - -///默认的楼块显示option, 将显示所有的楼块. (如果不需要显示所有的楼块,可以设置defaultOption.visibile = NO) -@property (nonatomic, readonly) MACustomBuildingOverlayOption *defaultOption; - -///当前自定义的楼块显示options. (options按添加顺序, 后添加的在最上层显示) -@property (nonatomic, readonly) NSArray *customOptions; - -/** - * @brief 增加自定义楼块显示的option - * @param option 要增加的自定义楼块显示option - */ -- (void)addCustomOption:(MACustomBuildingOverlayOption *)option; - -/** - * @brief 移除自定义楼块显示的option - * @param option 要移除的自定义楼块显示option - */ -- (void)removeCustomOption:(MACustomBuildingOverlayOption *)option; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomBuildingOverlayRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomBuildingOverlayRenderer.h deleted file mode 100644 index 194ee1ac..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomBuildingOverlayRenderer.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// MACustomBuildingOverlayRenderer.h -// MAMapKit -// -// Created by liubo on 2018/5/23. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_CUSTOMBUILDING - -#import "MAOverlayRenderer.h" -#import "MACustomBuildingOverlay.h" - -///该类是MACustomBuildingOverlay的显示Renderer. since 6.3.0 -@interface MACustomBuildingOverlayRenderer : MAOverlayRenderer - -///关联的MACustomBuildingOverlay model -@property (nonatomic, readonly) MACustomBuildingOverlay *customBuildingOverlay; - -/** - * @brief 根据指定MACustomBuildingOverlay生成对应的Renderer - * @param customBuildingOverlay 指定的MACustomBuildingOverlay model - * @return 生成的Renderer - */ -- (instancetype)initWithCustomBuildingOverlay:(MACustomBuildingOverlay *)customBuildingOverlay; - -@end -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomCalloutView.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomCalloutView.h deleted file mode 100644 index 17ebd2a5..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MACustomCalloutView.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// MACustomCalloutView.h -// MAMapKit -// -// Created by shaobin on 17/1/6. -// Copyright © 2017年 Amap. All rights reserved. -// - -#import -#import "MAConfig.h" - -///自定义annotationView的弹出框. 注意:不会触发-(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0 -@interface MACustomCalloutView : UIView - -///init时传入的customView since 5.0.0 -@property (nonatomic, strong, readonly) UIView *customView; - -///用户自定义数据,内部不做处理 since 5.0.0 -@property (nonatomic, strong) id userData; - -/** - * @brief 初始化并返回一个MACustomCalloutView since 5.0.0 - * @param customView 自定义View,不能为nil - * @return 初始化成功则返回MACustomCalloutView,否则返回nil - */ -- (id)initWithCustomView:(UIView *)customView; - - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGeodesicPolyline.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGeodesicPolyline.h deleted file mode 100644 index 7ee07c31..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGeodesicPolyline.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// MAGeodesicPolyline.h -// MapKit_static -// -// Created by songjian on 13-10-23. -// Copyright © 2016 Amap. All rights reserved. - -#import "MAConfig.h" - -#if MA_INCLUDE_OVERLAY_GEODESIC - -#import "MAPolyline.h" - -///大地曲线 -@interface MAGeodesicPolyline : MAPolyline - -/** - * @brief 根据MAMapPoints生成大地曲线 - * @param points MAMapPoint点 - * @param count 点的个数 - * @return 生成的大地曲线 - */ -+ (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count; - -/** - * @brief 根据经纬度生成大地曲线 - * @param coords 经纬度 - * @param count 点的个数 - * @return 生成的大地曲线 - */ -+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; - -/** - * @brief 重新设置坐标点. since 5.0.0 - * @param points 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setPolylineWithPoints:(MAMapPoint *)points count:(NSInteger)count; - -/** - * @brief 重新设置坐标点. since 5.0.0 - * @param coords 指定的经纬度坐标点数组,C数组,内部会做copy,调用者负责内存管理 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGeometry.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGeometry.h deleted file mode 100644 index dc9fa406..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGeometry.h +++ /dev/null @@ -1,490 +0,0 @@ -// -// MAGeometry.h -// MAMapKit -// -// Created by AutoNavi. -// Copyright (c) 2013年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import -#import - - -#ifdef __cplusplus -extern "C" { -#endif - - ///东北、西南两个点定义的四边形经纬度范围 - typedef struct MACoordinateBounds{ - CLLocationCoordinate2D northEast; ///< 东北角经纬度 - CLLocationCoordinate2D southWest; ///< 西南角经纬度 - } MACoordinateBounds; - - ///经度、纬度定义的经纬度跨度范围 - typedef struct MACoordinateSpan{ - CLLocationDegrees latitudeDelta; ///< 纬度跨度 - CLLocationDegrees longitudeDelta; ///< 经度跨度 - } MACoordinateSpan; - - ///中心点、跨度范围定义的四边形经纬度范围 - typedef struct MACoordinateRegion{ - CLLocationCoordinate2D center; ///< 中心点经纬度 - MACoordinateSpan span; ///< 跨度范围 - } MACoordinateRegion; - - ///平面投影坐标结构定义 - typedef struct MAMapPoint{ - double x; /// -#import "MAShape.h" -#import "MAOverlay.h" - -///该类用于确定覆盖在地图上的图片,及其覆盖区域, 通常MAGroundOverlay是MAGroundOverlayRenderer的model -@interface MAGroundOverlay : MAShape - -///绘制在地图上的覆盖图片 -@property (nonatomic, readonly) UIImage *icon; - -///透明度. 最终透明度 = 纹理透明度 * alpha. 有效范围为[0.f, 1.f], 默认为1.f -@property (nonatomic, assign) CGFloat alpha; - -///覆盖图片在地图尺寸等同于其像素的zoom值 -@property (nonatomic, readonly) CGFloat zoomLevel; - -///图片在地图中的覆盖范围 -@property (nonatomic, readonly) MACoordinateBounds bounds; - -/** - * @brief 根据bounds值和icon生成GroundOverlay - * @param bounds 图片的在地图的覆盖范围 - * @param icon 覆盖图片 - * @return 以bounds和icon 新生成GroundOverlay - */ -+ (instancetype)groundOverlayWithBounds:(MACoordinateBounds)bounds - icon:(UIImage *)icon; - -/** - * @brief 根据coordinate,icon,zoomLevel生成GroundOverlay - * @param coordinate 图片的在地图上的中心点 - * @param zoomLevel 图片在地图尺寸等同于像素的zoom值 - * @param icon 覆盖图片 - * @return 以coordinate,icon,zoomLevel 新生成GroundOverlay - */ -+ (instancetype)groundOverlayWithCoordinate:(CLLocationCoordinate2D)coordinate - zoomLevel:(CGFloat)zoomLevel - icon:(UIImage *)icon; - -/** - * @brief 更新GroundOverlay. since 5.0.0 - * @param bounds 图片的在地图的覆盖范围 - * @param icon 覆盖图片 - * @return 返回是否成功 - */ -- (BOOL)setGroundOverlayWithBounds:(MACoordinateBounds)bounds icon:(UIImage *)icon; - -/** - * @brief 更新GroundOverlay, 内部会自动计算覆盖物大小,以满足zoomLevel下显示大小为icon大小. since 5.0.0 - * @param coordinate 图片在地图上的中心点 - * @param zoomLevel 图片在地图尺寸等同于像素的zoom值 - * @param icon 覆盖图片 - * @return 返回是否成功 - */ -- (BOOL)setGroundOverlayWithCoordinate:(CLLocationCoordinate2D)coordinate - zoomLevel:(CGFloat)zoomLevel - icon:(UIImage *)icon; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGroundOverlayRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGroundOverlayRenderer.h deleted file mode 100644 index d47842fe..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAGroundOverlayRenderer.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// MAGroundOverlayRenderer.h -// MapKit_static -// -// Created by Li Fei on 11/13/13. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OVERLAY_GROUND - -#import "MAOverlayRenderer.h" -#import "MAGroundOverlay.h" - -///此类是将MAGroundOverlay中的覆盖图片显示在地图上的renderer -@interface MAGroundOverlayRenderer : MAOverlayRenderer - -///具有覆盖图片,以及图片覆盖的区域 -@property (nonatomic ,readonly) MAGroundOverlay *groundOverlay; - -/** - * @brief 根据指定的GroundOverlay生成将图片显示在地图上Renderer - * @param groundOverlay 制定了覆盖图片,以及图片的覆盖区域的groundOverlay - * @return 以GroundOverlay新生成Renderer - */ -- (instancetype)initWithGroundOverlay:(MAGroundOverlay *)groundOverlay; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapTileOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapTileOverlay.h deleted file mode 100644 index bb3aa5ac..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapTileOverlay.h +++ /dev/null @@ -1,69 +0,0 @@ -// -// MAHeatMapTileOverlay.h -// test2D -// -// Created by xiaoming han on 15/4/21. -// Copyright (c) 2015年 Amap. All rights reserved. -// - - - -#import "MAConfig.h" - -#if MA_INCLUDE_OVERLAY_HEATMAP - -#import "MATileOverlay.h" - -///热力图节点 -@interface MAHeatMapNode : NSObject - -///经纬度 -@property (nonatomic, assign) CLLocationCoordinate2D coordinate; - -///强度 -@property (nonatomic, assign) float intensity; - -@end - -///热力图渐变属性 -@interface MAHeatMapGradient : NSObject - -///颜色变化数组。 default [blue,green,red] -@property (nonatomic, readonly) NSArray *colors; - -///颜色变化起点,需为递增数组,区间为(0, 1)。default[@(0.2),@(0.5),@(0,9)] -@property (nonatomic, readonly) NSArray *startPoints; - -/** - * @brief 重新设置gradient的时候,需要执行 MATileOverlayRenderer 的 reloadData 方法重刷新渲染缓存。 - * @param colors 颜色 - * @param startPoints startPoints - * @return instance - */ -- (instancetype)initWithColor:(NSArray *)colors andWithStartPoints:(NSArray *)startPoints; - -@end - -///热力图tileOverlay -@interface MAHeatMapTileOverlay : MATileOverlay - -///MAHeatMapNode array -@property (nonatomic, strong) NSArray *data; - -///热力图半径,默认为12,范围:0-100 screen point -@property (nonatomic, assign) NSInteger radius; - -///透明度,默认为0.6,范围:0-1 -@property (nonatomic, assign) CGFloat opacity; - -///热力图梯度 -@property (nonatomic, strong) MAHeatMapGradient *gradient; - -///是否开启高清热力图,默认关闭 -@property (nonatomic, assign) BOOL allowRetinaAdapting; - -@end - -#endif - - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapVectorOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapVectorOverlay.h deleted file mode 100644 index 8146cf2f..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapVectorOverlay.h +++ /dev/null @@ -1,111 +0,0 @@ -// -// MAHeatMapVectorOverlay.h -// MAMapKit -// -// Created by ldj on 2019/7/25. -// Copyright © 2019 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_HEATMAP - -#import "MAShape.h" -#import "MAOverlay.h" - -///热力图类型 -typedef NS_ENUM(NSInteger, MAHeatMapType) -{ - MAHeatMapTypeSquare = 1, ///< 网格热力图 - MAHeatMapTypeHoneycomb = 2 ///< 蜂窝热力图 -}; - -///单个点对象 -@interface MAHeatMapVectorNode : NSObject - -///经纬度 -@property (nonatomic, assign) CLLocationCoordinate2D coordinate; - -///权重 -@property (nonatomic, assign) float weight; - -@end - -///热力图展示节点(用以描述一个蜂窝或一个网格) -@interface MAHeatMapVectorItem : NSObject - -///中心点坐标 -@property (nonatomic, readonly) MAMapPoint center; - -///当前热力值,求和后的权重 -@property (nonatomic, readonly) float intensity; - -///落在此节点区域内的所有热力点的索引数组 -@property (nonatomic, readonly) NSArray *nodeIndices; - -@end - -///该类用于定义热力图属性. -@interface MAHeatMapVectorOverlayOptions : NSObject - -///热力图类型 (默认为蜂窝类型MAHeatMapTypeHoneycomb) -@property (nonatomic, assign) MAHeatMapType type; - -///option选项是否可见. (默认YES) -@property (nonatomic, assign) BOOL visible; - -///MAHeatMapVectorNode array -@property (nonatomic, strong) NSArray *inputNodes; - -/** - @verbatim - 节点的宽 单位:米 负数按照0处理 default 2000 - —— —— —— —— - 丨 丨 丨 丨 - 丨 丨 丨 丨 - —— —— —— —— - - 每个方框的宽就是 size(六边形同理) - 两个方框之间的间隔就是 gap (六边形同理) - @endverbatim - */ -@property (nonatomic, assign) CLLocationDistance size; - -///节点之间的间隔 单位:米 负数按照0处理。注意:改变gap可能会改变热力节点的计算,内部会用size+gap来计算热力,最终用size来画方框。 -@property (nonatomic, assign) CGFloat gap; - -///颜色变化数组。 注意:colors和startPoints两数组长度必须一致且不能为0, -@property (nonatomic, strong) NSArray *colors; - -///颜色变化起点,需为递增数组,区间为[0, 1]。 注意:colors和startPoints两数组长度必须一致且不能为0。例如:startPoints @[@(0), @(0.3),@(0.7)] 表示区间 [0,0.3)使用第一个颜色,区间[0.3,0.7)使用第二个颜色,区间[0.7,1]使用第三个颜色。注意:startPoints首位需设置成0,如果首位不是0,内部也会把首位当成0来处理。 -@property (nonatomic, strong) NSArray *startPoints; - -///透明度,取值范围[0,1] ,default为1不透明 -@property (nonatomic, assign) CGFloat opacity; - -///权重的最大值,default为0,表示不填,不填则取数组inputNodes中权重的最大值 -@property (nonatomic, assign) int maxIntensity; - -///最小显示级别 default 3 -@property (nonatomic, assign) CGFloat minZoom; - -///最大显示级别 default 20 -@property (nonatomic, assign) CGFloat maxZoom; - -@end - -///矢量热力图,支持类型详见MAHeatMapType -@interface MAHeatMapVectorOverlay : MAShape - -///热力图的配置属性 -@property (nonatomic, strong) MAHeatMapVectorOverlayOptions *option; - -/** - * @brief 根据配置属性option生成MAHeatMapVectorOverlay - * @param option 热力图配置属性option - * @return 新生成的热力图MAHeatMapVectorOverlay - */ -+ (instancetype)heatMapOverlayWithOption:(MAHeatMapVectorOverlayOptions *)option; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapVectorOverlayRender.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapVectorOverlayRender.h deleted file mode 100644 index 72a33f1b..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAHeatMapVectorOverlayRender.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// MAHeatMapVectorOverlayRender.h -// MAMapKit -// -// Created by ldj on 2019/7/26. -// Copyright © 2019 Amap. All rights reserved. -// -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_HEATMAP - -#import "MAOverlayRenderer.h" -#import "MAHeatMapVectorOverlay.h" - -///矢量热力图绘制类 -@interface MAHeatMapVectorOverlayRender : MAOverlayRenderer - -///关联的MAHeatMapVectorOverlay -@property (nonatomic, readonly) MAHeatMapVectorOverlay *heatOverlay; - -/** - * @brief 根据指定的MAHeatMapVectorOverlay生成一个Renderer - * @param heatOverlay 指定MAHeatMapVectorOverlay - * @return 新生成的MAHeatMapVectorOverlayRender - */ -- (instancetype)initWithHeatOverlay:(MAHeatMapVectorOverlay *)heatOverlay; - - -/** - * @brief 根据经纬度获取对应的热力节点信息MAHeatMapVectorItem - * @param coordinate 经纬度 - */ -- (MAHeatMapVectorItem *)getHeatMapItem:(CLLocationCoordinate2D )coordinate; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAIndoorInfo.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAIndoorInfo.h deleted file mode 100644 index d90f410d..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAIndoorInfo.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// MAIndoorInfo.h -// MAMapKit -// -// Created by 翁乐 on 5/6/16. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_INDOOR - -#import - -///室内楼层信息 -@interface MAIndoorFloorInfo : NSObject -///楼层名 -@property (nonatomic, readonly) NSString *floorName; -///楼层index -@property (nonatomic, readonly) int floorIndex; -///楼层别名 -@property (nonatomic, readonly) NSString *floorNona; -///是否属于停车场 -@property (nonatomic, readonly) BOOL isPark; -@end - -///室内图信息 -@interface MAIndoorInfo : NSObject -///室内地图中文名 -@property (nonatomic, readonly) NSString *cnName; -///室内地图英文名 -@property (nonatomic, readonly) NSString *enName; -///室内地图poiID -@property (nonatomic, readonly) NSString *poiID; -///建筑类型 -@property (nonatomic, readonly) NSString *buildingType; -///当前楼层index,和floorInfo内部的index相关 -@property (nonatomic, readonly) int activeFloorIndex; -///当前激活的楼层,只和floorInfo相关,与floorInfo内部元素的index无关 -@property (nonatomic, readonly) int activeFloorInfoIndex; -///由 MAIndoorFloorInfo 组成,可直接通过 activeFloorInfoIndex 取出当前楼层 -@property (nonatomic, readonly) NSArray *floorInfo; -///楼层数量 -@property (nonatomic, readonly) int numberOfFloor; -///停车场楼层数量 -@property (nonatomic, readonly) int numberOfParkFloor; -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MALineDrawType.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MALineDrawType.h deleted file mode 100644 index f4a0ad89..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MALineDrawType.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// MALineDrawType.h -// MapKit_static -// -// Created by yi chen on 14-7-30. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#ifndef MapKit_static_MALineDrawType_h -#define MapKit_static_MALineDrawType_h - -enum MALineJoinType -{ - kMALineJoinBevel, ///< 斜面连接点 - kMALineJoinMiter, ///< 斜接连接点 - kMALineJoinRound ///< 圆角连接点 -}; -typedef enum MALineJoinType MALineJoinType; - -enum MALineCapType -{ - kMALineCapButt, ///< 普通头 - kMALineCapSquare, ///< 扩展头 - kMALineCapArrow, ///< 箭头 - kMALineCapRound ///< 圆形头 -}; -typedef enum MALineCapType MALineCapType; - -///虚线类型 -enum MALineDashType -{ - kMALineDashTypeNone = 0, ///<不画虚线 - kMALineDashTypeSquare, ///<方块样式 - kMALineDashTypeDot, ///<圆点样式 -}; -typedef enum MALineDashType MALineDashType; - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapAccessibilityIdentifier.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapAccessibilityIdentifier.h deleted file mode 100644 index 43b5e096..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapAccessibilityIdentifier.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// MAMapAccessibilityIdentifier.h -// MAMapKit -// -// Created by hanxiaoming on 17/1/9. -// Copyright © 2017年 Amap. All rights reserved. -// - -#ifndef MAMapAccessibilityIdentifier_h -#define MAMapAccessibilityIdentifier_h - -#define kMAAcceIdForMapView @"mamapview" -#define kMAAcceIdForRender @"marender" -#define kMAAcceIdForLogoView @"malogo" - -#define kMAAcceIdForAnnotationContainer @"maannotationcontainer" -#define kMAAcceIdForOverlayContainer @"maoverlaycontainer" -#define kMAAcceIdForAnnotationView @"maannotationview" -#define kMAAcceIdForCalloutView @"macalloutview" - -#define kMAAcceIdForUserLocationView @"mauserlocationview" - -#define kMAAcceIdForScaleView @"mascaleview" -#define kMAAcceIdForCompassView @"macompassview" -#define kMAAcceIdForIndoorView @"maindoorview" - -#endif /* MAMapAccessibilityIdentifier_h */ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapCustomStyleOptions.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapCustomStyleOptions.h deleted file mode 100644 index 7a648205..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapCustomStyleOptions.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// MAMapCustomStyleOptions.h -// MAMapKit -// -// Created by ldj on 2018/11/27. -// Copyright © 2018 Amap. All rights reserved. -// - -#import - -@interface MAMapCustomStyleOptions : NSObject - -///自定义样式二进制 -@property (nonatomic, strong) NSData *styleData; - -///海外自定义样式文件路径 -@property (nonatomic, strong) NSString *styleDataOverseaPath; - -///设置地图自定义样式对应的styleID,从官网获取 -@property (nonatomic, strong) NSString *styleId; - -///设置自定义纹理文件二进制 -@property (nonatomic, strong) NSData *styleTextureData; - -///样式额外的配置,比如路况,背景颜色等 since 6.7.0 -@property (nonatomic, strong) NSData *styleExtraData; - - -@end - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapKit.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapKit.h deleted file mode 100644 index c1047f8d..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapKit.h +++ /dev/null @@ -1,73 +0,0 @@ -// -// MAMapKit.h -// MAMapKit -// -// Created by 翁乐 on 12/2/15. -// Copyright © 2015 Amap. All rights reserved. -// - -#import -#import - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#import -#import - -#import -#import - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#import -#import -#import -#import -#import - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapStatus.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapStatus.h deleted file mode 100644 index 6148564c..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapStatus.h +++ /dev/null @@ -1,63 +0,0 @@ -// -// MAMapStatus.h -// MapKit_static -// -// Created by yi chen on 1/27/15. -// Copyright © 2016 Amap. All rights reserved. -// - - - -#import "MAConfig.h" -#import -#import - -///地图状态对象 -@interface MAMapStatus : NSObject - -///地图的中心点,改变该值时,地图的比例尺级别不会发生变化 -@property (nonatomic) CLLocationCoordinate2D centerCoordinate; - -///缩放级别 -@property (nonatomic) CGFloat zoomLevel; - -///设置地图旋转角度(逆时针为正向), 单位度, [0,360) -@property (nonatomic) CGFloat rotationDegree; - -///设置地图相机角度(范围为[0.f, 45.f]) -@property (nonatomic) CGFloat cameraDegree; - -///地图的视图锚点。坐标系归一化,(0, 0)为MAMapView左上角,(1, 1)为右下角。默认为(0.5, 0.5),即当前地图的视图中心 -@property (nonatomic) CGPoint screenAnchor; - -/** - * @brief 根据指定参数生成对应的status - * @param coordinate 地图的中心点,改变该值时,地图的比例尺级别不会发生变化 - * @param zoomLevel 缩放级别 - * @param rotationDegree 设置地图旋转角度(逆时针为正向) - * @param cameraDegree 设置地图相机角度(范围为[0.f, 45.f]) - * @param screenAnchor 地图的视图锚点。坐标系归一化,(0, 0)为MAMapView左上角,(1, 1)为右下角。默认为(0.5, 0.5),即当前地图的视图中心 - * @return 生成的Status - */ -+ (instancetype)statusWithCenterCoordinate:(CLLocationCoordinate2D)coordinate - zoomLevel:(CGFloat)zoomLevel - rotationDegree:(CGFloat)rotationDegree - cameraDegree:(CGFloat)cameraDegree - screenAnchor:(CGPoint)screenAnchor; - -/** - * @brief 根据指定参数初始化对应的status - * @param coordinate 地图的中心点,改变该值时,地图的比例尺级别不会发生变化 - * @param zoomLevel 缩放级别 - * @param rotationDegree 设置地图旋转角度(逆时针为正向) - * @param cameraDegree 设置地图相机角度(范围为[0.f, 45.f]) - * @param screenAnchor 地图的视图锚点。坐标系归一化,(0, 0)为MAMapView左上角,(1, 1)为右下角。默认为(0.5, 0.5),即当前地图的视图中心 - * @return 生成的Status - */ -- (id)initWithCenterCoordinate:(CLLocationCoordinate2D)coordinate - zoomLevel:(CGFloat)zoomLevel - rotationDegree:(CGFloat)rotationDegree - cameraDegree:(CGFloat)cameraDegree - screenAnchor:(CGPoint)screenAnchor; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapVersion.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapVersion.h deleted file mode 100644 index 3438caaf..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapVersion.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// MAMapVersion.h -// MAMapKit -// -// Created by yi chen on 2/24/16. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import - -#ifndef MAMapVersion_h -#define MAMapVersion_h - -#define MAMapVersionNumber 70800 -#define MAMapMinRequiredFoundationVersion 10604 - -// 依赖库版本检测 -#if AMapFoundationVersionNumber < MAMapMinRequiredFoundationVersion -#error "The AMapFoundationKit version is less than minimum required, please update! Any questions please to visit http://lbs.amap.com" -#endif - -FOUNDATION_EXTERN NSString * const MAMapKitVersion; -FOUNDATION_EXTERN NSString * const MAMapKitName; - - -#endif /* MAMapVersion_h */ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapView.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapView.h deleted file mode 100644 index 9bd56498..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMapView.h +++ /dev/null @@ -1,1055 +0,0 @@ -// -// MAMapView.h -// MAMapKit -// -// Created by 翁乐 on 3/17/16. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import -#import "MAOverlay.h" -#import "MAOverlayRenderer.h" -#import "MAAnnotationView.h" -#import "MACircle.h" -#import "MAUserLocation.h" -#import "MAMapStatus.h" -#import "MAIndoorInfo.h" -#import "MAUserLocationRepresentation.h" -#import "MAMapCustomStyleOptions.h" - -///地图类型 -typedef NS_ENUM(NSInteger, MAMapType) -{ - MAMapTypeStandard = 0, ///< 普通地图 - MAMapTypeSatellite, ///< 卫星地图 - MAMapTypeStandardNight, ///< 夜间视图 - MAMapTypeNavi, ///< 导航视图 - MAMapTypeBus ///< 公交视图 -}; - -///用户跟踪模式 -typedef NS_ENUM(NSInteger, MAUserTrackingMode) -{ - MAUserTrackingModeNone = 0, ///< 不追踪用户的location更新 - MAUserTrackingModeFollow = 1, ///< 追踪用户的location更新 - MAUserTrackingModeFollowWithHeading = 2 ///< 追踪用户的location与heading更新 -}; - -///交通拥堵状态 -typedef NS_ENUM(NSInteger, MATrafficStatus) -{ - MATrafficStatusSmooth = 1, ///< 1 通畅 - MATrafficStatusSlow, ///< 2 缓行 - MATrafficStatusJam, ///< 3 阻塞 - MATrafficStatusSeriousJam, ///< 4 严重阻塞 -}; - -///绘制overlay的层级 -typedef NS_ENUM(NSInteger, MAOverlayLevel) { - MAOverlayLevelAboveRoads = 0, ///< 在地图底图标注和兴趣点图标之下绘制overlay - MAOverlayLevelAboveLabels ///< 在地图底图标注和兴趣点图标之上绘制overlay -}; - -#pragma mark - 动画相关的key -///中心点(MAMapPoint)key, 封装成[NSValue valueWithMAMapPoint:] -extern NSString * const kMAMapLayerCenterMapPointKey; - -///缩放级别key, 范围[minZoomLevel, maxZoomLevel], 封装成NSNumber -extern NSString * const kMAMapLayerZoomLevelKey; - -///旋转角度key, 范围[0, 360), 封装成NSNumber -extern NSString * const kMAMapLayerRotationDegreeKey; - -///摄像机俯视角度, 范围[0, 45], 封装成NSNumber -extern NSString * const kMAMapLayerCameraDegreeKey; - - -@protocol MAMapViewDelegate; - -@interface MAMapView : UIView - -///地图view的delegate -@property (nonatomic, weak) id delegate; - -///地图类型。注意:自定义样式优先级高于mapType,如开启了自定义样式,要关闭自定义样式后mapType才生效 -@property (nonatomic) MAMapType mapType; - -///当前地图的中心点,改变该值时,地图的比例尺级别不会发生变化 -@property (nonatomic) CLLocationCoordinate2D centerCoordinate; - -///当前地图的经纬度范围,设定的该范围可能会被调整为适合地图窗口显示的范围 -@property (nonatomic) MACoordinateRegion region; - -///可见区域, 设定的该范围可能会被调整为适合地图窗口显示的范围 -@property (nonatomic) MAMapRect visibleMapRect; - -///设置可见地图区域的矩形边界,如限制地图只显示北京市范围 -@property (nonatomic, assign) MACoordinateRegion limitRegion; - -///设置可见地图区域的矩形边界,如限制地图只显示北京市范围 -@property (nonatomic, assign) MAMapRect limitMapRect; - -///缩放级别(默认3-19,有室内地图时为3-20) -@property (nonatomic) CGFloat zoomLevel; - -///最小缩放级别 -@property (nonatomic) CGFloat minZoomLevel; - -///最大缩放级别(有室内地图时最大为20,否则为19) -@property (nonatomic) CGFloat maxZoomLevel; - -///设置地图旋转角度(逆时针为正向) -@property (nonatomic) CGFloat rotationDegree; - -///设置地图相机角度(范围为[0.f, 60.f],但高于40度的角度需要在16级以上才能生效) -@property (nonatomic) CGFloat cameraDegree; - -///是否以screenAnchor点作为锚点进行缩放,默认为YES。如果为NO,则以手势中心点作为锚点 -@property (nonatomic, assign) BOOL zoomingInPivotsAroundAnchorPoint; - -///是否支持缩放, 默认YES -@property (nonatomic, getter = isZoomEnabled) BOOL zoomEnabled; - -///是否支持平移, 默认YES -@property (nonatomic, getter = isScrollEnabled) BOOL scrollEnabled; - -///是否支持旋转, 默认YES -@property (nonatomic, getter = isRotateEnabled) BOOL rotateEnabled; - -///是否支持camera旋转, 默认YES -@property (nonatomic, getter = isRotateCameraEnabled) BOOL rotateCameraEnabled; - -///是否支持天空模式,默认为YES. 开启后,进入天空模式后,annotation重用可视范围会缩减 -@property (nonatomic, getter = isSkyModelEnabled) BOOL skyModelEnable __attribute((deprecated("已废弃 since 6.0.0"))); - -///是否显示楼块,默认为YES -@property (nonatomic, getter = isShowsBuildings) BOOL showsBuildings; - -///是否显示底图标注, 默认为YES -@property (nonatomic, assign, getter = isShowsLabels) BOOL showsLabels; - -///是否显示交通路况图层, 默认为NO -@property (nonatomic, getter = isShowTraffic) BOOL showTraffic; - -///设置实时交通颜色,key为 MATrafficStatus -@property (nonatomic, copy) NSDictionary *trafficStatus __attribute((deprecated("已废弃 since 7.8.0"))); - -///设置实时交通线宽系数,默认线宽系数为0.8,范围为[0 - 1] (since 5.3.0) -@property (nonatomic, assign) CGFloat trafficRatio __attribute((deprecated("已废弃 since 6.0.0, 不再支持修改实时交通线宽"))); - -///是否支持单击地图获取POI信息(默认为YES), 对应的回调是 -(void)mapView:(MAMapView *) didTouchPois:(NSArray *) -@property (nonatomic, assign) BOOL touchPOIEnabled; - -///是否显示指南针, 默认YES -@property (nonatomic, assign) BOOL showsCompass; - -///指南针原点位置 -@property (nonatomic, assign) CGPoint compassOrigin; - -///指南针的宽高 -@property (nonatomic, readonly) CGSize compassSize; - -///是否显示比例尺, 默认YES -@property (nonatomic, assign) BOOL showsScale; - -///比例尺原点位置 -@property (nonatomic, assign) CGPoint scaleOrigin; - -///比例尺的最大宽高 -@property (nonatomic, readonly) CGSize scaleSize; - -///logo位置, 必须在mapView.bounds之内,否则会被忽略 -@property (nonatomic, assign) CGPoint logoCenter; - -///logo的宽高 -@property (nonatomic, readonly) CGSize logoSize; - -///在当前缩放级别下, 基于地图中心点, 1 screen point 对应的距离(单位是米) -@property (nonatomic, readonly) double metersPerPointForCurrentZoom; - -///标识当前地图中心位置是否在中国范围外。此属性不是精确判断,不能用于边界区域 -@property (nonatomic, readonly) BOOL isAbroad; - -///最大帧数,有效的帧数为:60、30、20、10等能被60整除的数。默认为60 -@property (nonatomic, assign) NSUInteger maxRenderFrame; - -///是否允许降帧,默认为YES -@property (nonatomic, assign) BOOL isAllowDecreaseFrame; - -///停止/开启 OpenGLES绘制, 默认NO. 对应回调是 - (void)mapView:(MAMapView *) didChangeOpenGLESDisabled:(BOOL) -@property (nonatomic, assign) BOOL openGLESDisabled; - -///地图的视图锚点。坐标系归一化,(0, 0)为MAMapView左上角,(1, 1)为右下角。默认为(0.5, 0.5),即当前地图的视图中心 (since 5.0.0) -@property (nonatomic, assign) CGPoint screenAnchor; - -///地图渲染的runloop mode,默认为NSRunLoopCommonModes。如果是和UIScrollView一起使用且不希望地图在scrollView拖动时渲染,请设置此值为NSDefaultRunLoopMode。(since 5.1.0) -@property (nonatomic, copy) NSRunLoopMode runLoopMode; - -///是否显示海外地图,默认为@NO. 注意:必须先在官网申请开通海外权限 -@property (nonatomic, getter=isShowsWorldMap) NSNumber *showsWorldMap; - -///设置语言。中文:@0: 英文:@1. 英文使用注意事项:1、不能和自定义地图样式同时使用;2、英文状态只在MAMapTypeStandard生效 -@property (nonatomic, strong) NSNumber *mapLanguage; - -/** - * @brief 设定当前地图的经纬度范围,该范围可能会被调整为适合地图窗口显示的范围 - * @param region 要设定的经纬度范围 - * @param animated 是否动画设置 - */ -- (void)setRegion:(MACoordinateRegion)region animated:(BOOL)animated; - -/** - * @brief 根据当前地图视图frame的大小调整region范围 - * @param region 要调整的经纬度范围 - * @return 调整后的经纬度范围 - */ -- (MACoordinateRegion)regionThatFits:(MACoordinateRegion)region; - -/** - * @brief 设置可见区域 - * @param mapRect 要设定的可见区域 - * @param animated 是否动画设置 - */ -- (void)setVisibleMapRect:(MAMapRect)mapRect animated:(BOOL)animated; - -/** - * @brief 重新计算可见地图矩形区域,使之匹配mapview长宽比 - * @param mapRect 要调整的地图矩形区域 - * @return 调整后的地图矩形区域 - */ -- (MAMapRect)mapRectThatFits:(MAMapRect)mapRect; - -/** - * @brief 根据边缘插入来调整地图矩形区域,使之匹配mapview加insets后的长宽比 - * @param mapRect 要调整的地图矩形区域 - * @param insets 边缘插入 - * @return 调整后的地图矩形区域 - */ -- (MAMapRect)mapRectThatFits:(MAMapRect)mapRect edgePadding:(UIEdgeInsets)insets; - -/** - * @brief 设置可见地图矩形区域 - * @param insets 边缘插入 - * @param mapRect 要显示的地图矩形区域 - * @param animated 是否动画效果 - */ -- (void)setVisibleMapRect:(MAMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated; - -/** - * @brief 设置当前地图的中心点,改变该值时,地图的比例尺级别不会发生变化 - * @param coordinate 要设置的中心点 - * @param animated 是否动画设置 - */ -- (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated; - -/** - * @brief 设置缩放级别(默认3-19,有室内地图时为3-20) - * @param zoomLevel 要设置的缩放级别 - * @param animated 是否动画设置 - */ -- (void)setZoomLevel:(CGFloat)zoomLevel animated:(BOOL)animated; - -/** - * @brief 根据指定的枢纽点来缩放地图 - * @param zoomLevel 缩放级别 - * @param pivot 枢纽点(基于地图view的坐标系) - * @param animated 是否动画 - */ -- (void)setZoomLevel:(CGFloat)zoomLevel atPivot:(CGPoint)pivot animated:(BOOL)animated; - -/** - * @brief 设置地图旋转角度(逆时针为正向) - * @param rotationDegree 旋转角度, 如当前角度是0,720表示逆时针旋转2周,-720表示正时针旋转2周 - * @param animated 动画 - * @param duration 动画时间 - */ -- (void)setRotationDegree:(CGFloat)rotationDegree animated:(BOOL)animated duration:(CFTimeInterval)duration; - -/** - * @brief 设置地图相机角度(范围为[0.f, 60.f],但高于40度的角度需要在16级以上才能生效) - * @param cameraDegree 要设置的相机角度 - * @param animated 是否动画 - * @param duration 动画时间 - */ -- (void)setCameraDegree:(CGFloat)cameraDegree animated:(BOOL)animated duration:(CFTimeInterval)duration; - -/** - * @brief 获取地图状态 - * @return 地图状态 - */ -- (MAMapStatus *)getMapStatus; - - -/** - * @brief 设置地图状态 - * @param status 要设置的地图状态 - * @param animated 是否动画 - */ -- (void)setMapStatus:(MAMapStatus *)status animated:(BOOL)animated; - -/** - * @brief 设置地图状态 - * @param status 要设置的地图状态 - * @param animated 是否动画 - * @param duration 动画时间,默认动画时间为0.35s - */ -- (void)setMapStatus:(MAMapStatus *)status - animated:(BOOL)animated - duration:(CFTimeInterval)duration; - -/** - * @brief 设置指南针的图片 - * @param image 新的指南针图片 - */ -- (void)setCompassImage:(UIImage *)image; - -/** - * @brief 在指定区域内截图(默认会包含该区域内的annotationView),注意不要在地图回调方法内直接调用 - * @param rect 指定的区域 - * @return 截图image - */ -- (UIImage *)takeSnapshotInRect:(CGRect)rect __attribute((deprecated("已废弃,请使用takeSnapshotInRect:withCompletionBlock:方法 since 6.0.0"))); - -/** - * @brief 异步在指定区域内截图(默认会包含该区域内的annotationView), 地图载入完整时回调 - * @param rect 指定的区域 - * @param block 回调block(resultImage:返回的图片,state:0载入不完整,1完整) - */ -- (void)takeSnapshotInRect:(CGRect)rect withCompletionBlock:(void (^)(UIImage *resultImage, NSInteger state))block; - -/** - * @brief 异步在指定区域内截图(默认会包含该区域内的annotationView), 地图载入完整时回调 (since 7.8.0) - * @param rect 指定的区域 - * @param timeout 超时时间 - * @param block 回调block(resultImage:返回的图片,state:0载入不完整,1完整) - */ -- (void)takeSnapshotInRect:(CGRect)rect timeoutInterval:(NSTimeInterval)timeout completionBlock:(void (^)(UIImage *resultImage, NSInteger state))block; - -/** - * @brief 在指定的缩放级别下, 基于地图中心点, 1 screen point 对应的距离(单位是米). - * @param zoomLevel 指定的缩放级别, 在[minZoomLevel, maxZoomLevel]范围内. - * @return 对应的距离(单位是米) - */ -- (double)metersPerPointForZoomLevel:(CGFloat)zoomLevel; - -/** - * @brief 将经纬度转换为指定view坐标系的坐标 - * @param coordinate 经纬度 - * @param view 指定的view - * @return 基于指定view坐标系的坐标 - */ -- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view; - -/** - * @brief 将指定view坐标系的坐标转换为经纬度 - * @param point 指定view坐标系的坐标 - * @param view 指定的view - * @return 经纬度 - */ -- (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(UIView *)view; - -/** - * @brief 将经纬度region转换为指定view坐标系的rect - * @param region 经纬度region - * @param view 指定的view - * @return 指定view坐标系的rect - */ -- (CGRect)convertRegion:(MACoordinateRegion)region toRectToView:(UIView *)view; - -/** - * @brief 将指定view坐标系的rect转换为经纬度region - * @param rect 指定view坐标系的rect - * @param view 指定的view - * @return 经纬度region - */ -- (MACoordinateRegion)convertRect:(CGRect)rect toRegionFromView:(UIView *)view; - -/** - * @brief 重新加载地图 - * - * 将离线地图解压到 Documents/3dvmap/ 目录下后,调用此函数使离线数据生效, - * 对应的回调分别是 offlineDataWillReload:(MAMapView *)mapView, offlineDataDidReload:(MAMapView *)mapView. - */ -- (void)reloadMap; - -/** - * @brief 清除所有磁盘上缓存的地图数据(不包括离线地图) - */ -- (void)clearDisk; - -/** - * @brief 重新加载内部纹理,在纹理被错误释放时可以执行此方法。(since 5.4.0) - */ -- (void)reloadInternalTexture; - -/** - * @brief 获取地图审图号。如果启用了“自定义样式”功能(customMapStyleEnabled 为 YES),则返回nil。(since 5.4.0) - * @return 地图审图号 - */ -- (NSString *)mapContentApprovalNumber; - -/** - * @brief 获取卫星图片审图号。(since 5.4.0) - * @return 卫星图片审图号 - */ -- (NSString *)satelliteImageApprovalNumber; - -/** - * @brief 添加CAKeyframeAnimation动画。(since 6.0.0) - * @param mapCenterAnimation 地图中心点动画 - * @param zoomAnimation 放大缩小动画 - * @param rotateAnimation 旋转动画 - * @param cameraDegreeAnimation 仰角动画 - */ -- (void)addAnimationWith:(CAKeyframeAnimation *)mapCenterAnimation - zoomAnimation:(CAKeyframeAnimation *)zoomAnimation - rotateAnimation:(CAKeyframeAnimation *)rotateAnimation - cameraDegreeAnimation:(CAKeyframeAnimation *)cameraDegreeAnimation; - -/** - * @brief 强制刷新。(since 6.0.0) - */ -- (void)forceRefresh; - -/** - * @brief 设置在建道路图层是否显示。默认NO(since 7.7.0) - * @param enabled 是否显示 - */ -- (void)setConstructingRoadEnable:(BOOL)enabled; - -@end - -@interface MAMapView (Annotation) - -///所有添加的标注, 注意从5.3.0开始返回数组内不再包含定位蓝点userLocation -@property (nonatomic, readonly) NSArray *annotations; - -///处于选中状态的标注数据数据(其count == 0 或 1) -@property (nonatomic, copy) NSArray *selectedAnnotations; - -///annotation 可见区域 -@property (nonatomic, readonly) CGRect annotationVisibleRect; - -///是否允许对annotationView根据zIndex进行排序,默认为NO 注意:如果设置为YES,慎重重载MAAnnoationView的willMoveToSuperview:,内部排序时会调用removeFromSuperView. 注:从5.3.0版本开启此属性废弃,如果添加的annotationView有zIndex不为0的,则自动开启为YES,否则为NO。删除所有annotation后会重置。zIndex属性只有在viewForAnnotation或者didAddAnnotationViews回调中设置有效。 -@property (nonatomic, assign) BOOL allowsAnnotationViewSorting __attribute((deprecated("已废弃 since 5.3.0"))); - -/** - * @brief 向地图窗口添加标注,需要实现MAMapViewDelegate的-mapView:viewForAnnotation:函数来生成标注对应的View - * @param annotation 要添加的标注 - */ -- (void)addAnnotation:(id )annotation; - -/** - * @brief 向地图窗口添加一组标注,需要实现MAMapViewDelegate的-mapView:viewForAnnotation:函数来生成标注对应的View - * @param annotations 要添加的标注数组 - */ -- (void)addAnnotations:(NSArray *)annotations; - -/** - * @brief 移除标注 - * @param annotation 要移除的标注 - */ -- (void)removeAnnotation:(id )annotation; - -/** - * @brief 移除一组标注 - * @param annotations 要移除的标注数组 - */ -- (void)removeAnnotations:(NSArray *)annotations; - -/** - * @brief 获取指定投影矩形范围内的标注 - * @param mapRect 投影矩形范围 - * @return 标注集合 - */ -- (NSSet *)annotationsInMapRect:(MAMapRect)mapRect; - -/** - * @brief 根据标注数据获取标注view - * @param annotation 标注数据 - * @return 对应的标注view - */ -- (MAAnnotationView *)viewForAnnotation:(id )annotation; - -/** - * @brief 从复用内存池中获取制定复用标识的annotation view - * @param identifier 复用标识 - * @return annotation view - */ -- (MAAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier; - -/** - * @brief 选中标注数据对应的view。注意:如果annotation对应的annotationView因不在屏幕范围内而被移入复用池,为了完成选中操作,会将对应的annotationView添加到地图上,并将地图中心点移至annotation.coordinate的位置。 - * @param annotation 标注数据 - * @param animated 是否有动画效果 - */ -- (void)selectAnnotation:(id )annotation animated:(BOOL)animated; - -/** - * @brief 取消选中标注数据对应的view - * @param annotation 标注数据 - * @param animated 是否有动画效果 - */ -- (void)deselectAnnotation:(id )annotation animated:(BOOL)animated; - -/** - * @brief 设置地图使其可以显示数组中所有的annotation, 如果数组中只有一个则直接设置地图中心为annotation的位置。 - * @param annotations 需要显示的annotation - * @param animated 是否执行动画 - */ -- (void)showAnnotations:(NSArray *)annotations animated:(BOOL)animated; - -/** - * @brief 设置地图使其可以显示数组中所有的annotation, 如果数组中只有一个则直接设置地图中心为annotation的位置。 - * @param annotations 需要显示的annotation - * @param insets insets 嵌入边界 - * @param animated 是否执行动画 - */ -- (void)showAnnotations:(NSArray *)annotations edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated; - -@end - - -@interface MAMapView (UserLocation) - -///是否显示用户位置 -@property (nonatomic) BOOL showsUserLocation; - -///当前的位置数据 -@property (nonatomic, readonly) MAUserLocation *userLocation; - -///是否自定义用户位置精度圈(userLocationAccuracyCircle)对应的 view, 默认为 NO.\n 如果为YES: 会调用 - (MAOverlayRenderer *)mapView (MAMapView *)mapView rendererForOverlay:(id )overlay 若返回nil, 则不加载.\n 如果为NO : 会使用默认的样式. -@property (nonatomic) BOOL customizeUserLocationAccuracyCircleRepresentation; - -///用户位置精度圈 对应的overlay -@property (nonatomic, readonly) MACircle *userLocationAccuracyCircle; - -///定位用户位置的模式, 注意:在follow模式下,设置地图中心点、设置可见区域、滑动手势、选择annotation操作会取消follow模式,并触发 - (void)mapView:(MAMapView *)mapView didChangeUserTrackingMode:(MAUserTrackingMode)mode animated:(BOOL)animated; -@property (nonatomic) MAUserTrackingMode userTrackingMode; - -///当前位置再地图中是否可见 -@property (nonatomic, readonly, getter=isUserLocationVisible) BOOL userLocationVisible; - -///设定定位的最小更新距离。默认为kCLDistanceFilterNone,会提示任何移动 -@property (nonatomic) CLLocationDistance distanceFilter; - -///设定定位精度。默认为kCLLocationAccuracyBest -@property (nonatomic) CLLocationAccuracy desiredAccuracy; - -///设定最小更新角度。默认为1度,设定为kCLHeadingFilterNone会提示任何角度改变 -@property (nonatomic) CLLocationDegrees headingFilter; - -///指定定位是否会被系统自动暂停 -@property (nonatomic) BOOL pausesLocationUpdatesAutomatically; - -///是否允许后台定位。默认为NO。只在iOS 9.0之后起作用。\n 设置为YES的时候必须保证 Background Modes 中的 Location updates处于选中状态,否则会抛出异常。\n 注意:定位必须在停止的状态下设置(showsUserLocation = NO),否则无效 -@property (nonatomic) BOOL allowsBackgroundLocationUpdates; - -/** - * @brief 设置定位用户位置的模式 - * @param mode 要设置的模式 - * @param animated 是否动画设置 - */ -- (void)setUserTrackingMode:(MAUserTrackingMode)mode animated:(BOOL)animated; - -/** - * @brief 设定UserLocationView样式。如果用户自定义了userlocation的annotationView,或者该annotationView还未添加到地图上,此方法将不起作用 - * @param representation 样式信息对象 - */ -- (void)updateUserLocationRepresentation:(MAUserLocationRepresentation *)representation; - -@end - -@interface MAMapView (Overlay) - -///所有添加的Overlay -@property (nonatomic, readonly) NSArray *overlays; - -/** - * @brief 取位于level下的overlays - * @param level 层级 - */ -- (NSArray *)overlaysInLevel:(MAOverlayLevel)level; - -/** - * @brief 向地图窗口添加Overlay。 - * 需要实现MAMapViewDelegate的-mapView:rendererForOverlay:函数来生成标注对应的Renderer。 - * 默认添加层级:MAGroundOverlay默认层级为MAOverlayLevelAboveRoads,其余overlay类型默认层级为MAOverlayLevelAboveLabels - * @param overlay 要添加的overlay - */ -- (void)addOverlay:(id )overlay; - -/** - * @brief 向地图窗口添加一组Overlay,需要实现MAMapViewDelegate的-mapView:rendererForOverlay:函数来生成标注对应的Renderer - * 默认添加层级:MAOverlayLevelAboveLabels - * @param overlays 要添加的overlay数组 - */ -- (void)addOverlays:(NSArray *)overlays; - -/** - * @brief 向地图窗口添加Overlay,需要实现MAMapViewDelegate的-mapView:rendererForOverlay:函数来生成标注对应的Renderer - * @param overlay 要添加的overlay - * @param level 添加的overlay所在层级 - */ -- (void)addOverlay:(id )overlay level:(MAOverlayLevel)level; - -/** - * @brief 向地图窗口添加一组Overlay,需要实现MAMapViewDelegate的-mapView:rendererForOverlay:函数来生成标注对应的Renderer - * @param overlays 要添加的overlay数组 - * @param level 添加的overlay所在层级 - */ -- (void)addOverlays:(NSArray *)overlays level:(MAOverlayLevel)level; - -/** - * @brief 移除Overlay - * @param overlay 要移除的overlay - */ -- (void)removeOverlay:(id )overlay; - -/** - * @brief 移除一组Overlay - * @param overlays 要移除的overlay数组 - */ -- (void)removeOverlays:(NSArray *)overlays; - -/** - * @brief 在指定层级的指定的索引处添加一个Overlay - * @param overlay 要添加的overlay - * @param index 指定的索引 - * @param level 指定的层级 - - * 注:各个层级的索引分开计数; - * 若index大于level层级的最大索引,则添加至level层级的最大索引之后。 - */ -- (void)insertOverlay:(id )overlay atIndex:(NSUInteger)index level:(MAOverlayLevel)level; - -/** - * @brief 在指定的Overlay之上插入一个overlay - * @param overlay 带添加的Overlay - * @param sibling 用于指定相对位置的Overlay - */ -- (void)insertOverlay:(id )overlay aboveOverlay:(id )sibling; - -/** - * @brief 在指定的Overlay之下插入一个overlay - * @param overlay 带添加的Overlay - * @param sibling 用于指定相对位置的Overlay - */ -- (void)insertOverlay:(id )overlay belowOverlay:(id )sibling; - -/** - * @brief 在指定的索引处添加一个Overlay - * @param overlay 要添加的overlay - * @param index 指定的索引 - */ -- (void)insertOverlay:(id )overlay atIndex:(NSUInteger)index; - -/** - * @brief 在MAOverlayLevelAboveLabels上交换指定索引处的Overlay - * @param index1 索引1 - * @param index2 索引2 - */ -- (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2; - -/** - * @brief 交换指定索引处的Overlay - * @param index1 索引1 - * @param index2 索引2 - * @param level 所处层级 - */ -- (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2 atLevel:(MAOverlayLevel)level; - -/** - * @brief 交换两个overlay - * @param overlay1 overlay1 - * @param overlay2 overlay2 - */ -- (void)exchangeOverlay:(id )overlay1 withOverlay:(id )overlay2; - -/** - * @brief 查找指定overlay对应的Renderer,如果该View尚未创建,返回nil - * @param overlay 指定的overlay - * @return 指定overlay对应的Renderer - */ -- (MAOverlayRenderer *)rendererForOverlay:(id )overlay; - -/** - * @brief 设置地图使其可以显示数组中所有的overlay, 如果数组中只有一个则直接设置地图中心为overlay的位置。 - * @param overlays 需要显示的overlays - * @param animated 是否执行动画 - */ -- (void)showOverlays:(NSArray *)overlays animated:(BOOL)animated; - -/** - * @brief 设置地图使其可以显示数组中所有的overlay, 如果数组中只有一个则直接设置地图中心为overlay的位置。 - * @param overlays 需要显示的overlays - * @param insets insets 嵌入边界 - * @param animated 是否执行动画 - */ -- (void)showOverlays:(NSArray *)overlays edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated; - -/** - * @brief 获取点击选中的polylineRenderer, 注意:开启polylineRenderer的点击选中功能,需设置userInteractionEnabled=YES。since 7.1.0 - * @param tappedCoord 点击点的坐标 - * @param traverseAll 如果有polyline重合情况,是否返回多个。NO: 只返回最上面的 YES:返回所有 - * @return 返回选中的polylineRenderer数组,最上面的在第一个 - * */ -- (NSArray*)getHittedPolylinesWith:(CLLocationCoordinate2D)tappedCoord traverseAll:(BOOL)traverseAll; - -@end - -#if MA_INCLUDE_INDOOR -@interface MAMapView (Indoor) - -///是否显示室内地图, 默认NO -@property (nonatomic, getter = isShowsIndoorMap) BOOL showsIndoorMap; - -///是否显示室内地图默认控件, 默认YES -@property (nonatomic, getter = isShowsIndoorMapControl) BOOL showsIndoorMapControl; - -///默认室内地图控件的最大宽高 -@property (nonatomic, readonly) CGSize indoorMapControlSize; - -/** - * @brief 设置默认室内地图控件位置 - * @param origin 左上角点位置 - */ -- (void)setIndoorMapControlOrigin:(CGPoint)origin; - -/** - * @brief 设置当前室内地图楼层数 - * @param floorIndex 要设置的楼层数 - */ -- (void)setCurrentIndoorMapFloorIndex:(NSInteger)floorIndex; - -/** - * @brief 清空室内地图缓存 - */ -- (void)clearIndoorMapCache; - -@end -#endif - -///自定义样式 -@interface MAMapView (CustomMapStyle) - -///是否开启自定义样式, 默认NO. since 5.0.0 -@property (nonatomic, assign) BOOL customMapStyleEnabled; - -/** - * @brief 根据web导出数据设置地图样式, 目前仅支持自定义标准类型. 默认不生效,调用customMapStyleEnabled=YES使生效. since 5.2.0 - * @param data 高德web端工具导出的地图样式数据. - */ -- (void)setCustomMapStyleWithWebData:(NSData *)data __attribute((deprecated("已废弃, 请使用 setCustomMapStyleOptions: since 6.6.0"))); - -/** - * @brief 设置自定义纹理. since 5.7.0 - * @param customTextureResourcePath 自定义纹理文件路径. - */ -- (void)setCustomTextureResourcePath:(NSString *)customTextureResourcePath __attribute((deprecated("已废弃, 请使用 setCustomMapStyleOptions: since 6.6.0"))); - -/** - * @brief 自定义地图样式id, 官网发布后下次开启自定义样式便可生效,目前仅支持自定义标准类型. 默认不生效,调用customMapStyleEnabled=YES使生效. since 6.0.0 - * @param customMapStyleID 自定义样式ID,从官网获取 - */ -- (void)setCustomMapStyleID:(NSString *)customMapStyleID __attribute((deprecated("已废弃, 请使用 setCustomMapStyleOptions: since 6.6.0"))); - -/** - * @brief 自定义地图样式设置,可以支持分级样式配置,如控制不同级别显示不同的颜色(自7.0.0开始样式有更新,旧的样式文件不能继续使用,必须到官网重新导出新样式文件。 自6.6.0开始使用新版样式,旧版样式无法在新版接口setCustomMapStyleOptions:(MAMapCustomStyleOptions *)styleOptions中使用,请到官网(lbs.amap.com)更新新版样式文件.) - * @param styleOptions 自定义样式options. since 6.6.0 - */ -- (void)setCustomMapStyleOptions:(MAMapCustomStyleOptions *)styleOptions; - -@end - -#pragma mark - MAMapViewDelegate -@protocol MAMapViewDelegate - -@optional - -/** - * @brief 地图区域改变过程中会调用此接口 since 4.6.0 - * @param mapView 地图View - */ -- (void)mapViewRegionChanged:(MAMapView *)mapView; - -/** - * @brief 地图区域即将改变时会调用此接口 - * @param mapView 地图View - * @param animated 是否动画 - */ -- (void)mapView:(MAMapView *)mapView regionWillChangeAnimated:(BOOL)animated; - -/** - * @brief 地图区域改变完成后会调用此接口 - * @param mapView 地图View - * @param animated 是否动画 - */ -- (void)mapView:(MAMapView *)mapView regionDidChangeAnimated:(BOOL)animated; - -/** - * @brief 地图区域即将改变时会调用此接口,如实现此接口则不会触发回掉mapView:regionWillChangeAnimated: - * @param mapView 地图View - * @param animated 是否动画 -* @param wasUserAction 标识是否是用户动作 - */ -- (void)mapView:(MAMapView *)mapView regionWillChangeAnimated:(BOOL)animated wasUserAction:(BOOL)wasUserAction; - -/** - * @brief 地图区域改变完成后会调用此接口,如实现此接口则不会触发回掉mapView:regionDidChangeAnimated: - * @param mapView 地图View - * @param animated 是否动画 - * @param wasUserAction 标识是否是用户动作 - */ -- (void)mapView:(MAMapView *)mapView regionDidChangeAnimated:(BOOL)animated wasUserAction:(BOOL)wasUserAction; - -/** - * @brief 地图将要发生移动时调用此接口 - * @param mapView 地图view - * @param wasUserAction 标识是否是用户动作 - */ -- (void)mapView:(MAMapView *)mapView mapWillMoveByUser:(BOOL)wasUserAction; - -/** - * @brief 地图移动结束后调用此接口 - * @param mapView 地图view - * @param wasUserAction 标识是否是用户动作 - */ -- (void)mapView:(MAMapView *)mapView mapDidMoveByUser:(BOOL)wasUserAction; - -/** - * @brief 地图将要发生缩放时调用此接口 - * @param mapView 地图view - * @param wasUserAction 标识是否是用户动作 - */ -- (void)mapView:(MAMapView *)mapView mapWillZoomByUser:(BOOL)wasUserAction; - -/** - * @brief 地图缩放结束后调用此接口 - * @param mapView 地图view - * @param wasUserAction 标识是否是用户动作 - */ -- (void)mapView:(MAMapView *)mapView mapDidZoomByUser:(BOOL)wasUserAction; - -/** - * @brief 地图开始加载 - * @param mapView 地图View - */ -- (void)mapViewWillStartLoadingMap:(MAMapView *)mapView; - -/** - * @brief 地图加载成功 - * @param mapView 地图View - */ -- (void)mapViewDidFinishLoadingMap:(MAMapView *)mapView; - -/** - * @brief 地图加载失败 - * @param mapView 地图View - * @param error 错误信息 - */ -- (void)mapViewDidFailLoadingMap:(MAMapView *)mapView withError:(NSError *)error; - -/** - * @brief 根据anntation生成对应的View。 - - 注意: - 1、5.1.0后由于定位蓝点增加了平滑移动功能,如果在开启定位的情况先添加annotation,需要在此回调方法中判断annotation是否为MAUserLocation,从而返回正确的View。 - if ([annotation isKindOfClass:[MAUserLocation class]]) { - return nil; - } - - 2、请不要在此回调中对annotation进行select和deselect操作,此时annotationView还未添加到mapview。 - - * @param mapView 地图View - * @param annotation 指定的标注 - * @return 生成的标注View - */ -- (MAAnnotationView *)mapView:(MAMapView *)mapView viewForAnnotation:(id )annotation; - -/** - * @brief 当mapView新添加annotation views时,调用此接口 - * @param mapView 地图View - * @param views 新添加的annotation views - */ -- (void)mapView:(MAMapView *)mapView didAddAnnotationViews:(NSArray *)views; - -/** - * @brief 当选中一个annotation view时,调用此接口. 注意如果已经是选中状态,再次点击不会触发此回调。取消选中需调用-(void)deselectAnnotation:animated: - * @param mapView 地图View - * @param view 选中的annotation view - */ -- (void)mapView:(MAMapView *)mapView didSelectAnnotationView:(MAAnnotationView *)view; - -/** - * @brief 当取消选中一个annotation view时,调用此接口 - * @param mapView 地图View - * @param view 取消选中的annotation view - */ -- (void)mapView:(MAMapView *)mapView didDeselectAnnotationView:(MAAnnotationView *)view; - -/** - * @brief 在地图View将要启动定位时,会调用此函数 - * @param mapView 地图View - */ -- (void)mapViewWillStartLocatingUser:(MAMapView *)mapView; - -/** - * @brief 在地图View停止定位后,会调用此函数 - * @param mapView 地图View - */ -- (void)mapViewDidStopLocatingUser:(MAMapView *)mapView; - -/** - * @brief 位置或者设备方向更新后,会调用此函数 - * @param mapView 地图View - * @param userLocation 用户定位信息(包括位置与设备方向等数据) - * @param updatingLocation 标示是否是location数据更新, YES:location数据更新 NO:heading数据更新 - */ -- (void)mapView:(MAMapView *)mapView didUpdateUserLocation:(MAUserLocation *)userLocation updatingLocation:(BOOL)updatingLocation; - -/** - * @brief 当plist配置NSLocationAlwaysUsageDescription或者NSLocationAlwaysAndWhenInUseUsageDescription,并且[CLLocationManager authorizationStatus] == kCLAuthorizationStatusNotDetermined,会调用代理的此方法。 - 此方法实现调用后台权限API即可( 该回调必须实现 [locationManager requestAlwaysAuthorization] ); since 6.8.0 - * @param locationManager 地图的CLLocationManager。 - */ -- (void)mapViewRequireLocationAuth:(CLLocationManager *)locationManager; - -/** - * @brief 定位失败后,会调用此函数 - * @param mapView 地图View - * @param error 错误号,参考CLError.h中定义的错误号 - */ -- (void)mapView:(MAMapView *)mapView didFailToLocateUserWithError:(NSError *)error; - -/** - * @brief 拖动annotation view时view的状态变化 - * @param mapView 地图View - * @param view annotation view - * @param newState 新状态 - * @param oldState 旧状态 - */ -- (void)mapView:(MAMapView *)mapView annotationView:(MAAnnotationView *)view didChangeDragState:(MAAnnotationViewDragState)newState - fromOldState:(MAAnnotationViewDragState)oldState; - -/** - * @brief 根据overlay生成对应的Renderer - * @param mapView 地图View - * @param overlay 指定的overlay - * @return 生成的覆盖物Renderer - */ -- (MAOverlayRenderer *)mapView:(MAMapView *)mapView rendererForOverlay:(id )overlay; - -/** - * @brief 当mapView新添加overlay renderers时,调用此接口 - * @param mapView 地图View - * @param overlayRenderers 新添加的overlay renderers - */ -- (void)mapView:(MAMapView *)mapView didAddOverlayRenderers:(NSArray *)overlayRenderers; - -/** - * @brief 标注view的accessory view(必须继承自UIControl)被点击时,触发该回调 - * @param mapView 地图View - * @param view callout所属的标注view - * @param control 对应的control - */ -- (void)mapView:(MAMapView *)mapView annotationView:(MAAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control; - -/** - * @brief 标注view的calloutview整体点击时,触发该回调。只有使用默认calloutview时才生效。 - * @param mapView 地图的view - * @param view calloutView所属的annotationView - */ -- (void)mapView:(MAMapView *)mapView didAnnotationViewCalloutTapped:(MAAnnotationView *)view; - -/** - * @brief 标注view被点击时,触发该回调。(since 5.7.0) - * @param mapView 地图的view - * @param view annotationView - */ -- (void)mapView:(MAMapView *)mapView didAnnotationViewTapped:(MAAnnotationView *)view; - -/** - * @brief 当userTrackingMode改变时,调用此接口 - * @param mapView 地图View - * @param mode 改变后的mode - * @param animated 动画 - */ -- (void)mapView:(MAMapView *)mapView didChangeUserTrackingMode:(MAUserTrackingMode)mode animated:(BOOL)animated; - -/** - * @brief 当openGLESDisabled变量改变时,调用此接口 - * @param mapView 地图View - * @param openGLESDisabled 改变后的openGLESDisabled - */ -- (void)mapView:(MAMapView *)mapView didChangeOpenGLESDisabled:(BOOL)openGLESDisabled; - -/** - * @brief 当touchPOIEnabled == YES时,单击地图使用该回调获取POI信息 - * @param mapView 地图View - * @param pois 获取到的poi数组(由MATouchPoi组成) - */ -- (void)mapView:(MAMapView *)mapView didTouchPois:(NSArray *)pois; - -/** - * @brief 单击地图回调,返回经纬度 - * @param mapView 地图View - * @param coordinate 经纬度 - */ -- (void)mapView:(MAMapView *)mapView didSingleTappedAtCoordinate:(CLLocationCoordinate2D)coordinate; - -/** - * @brief 长按地图,返回经纬度 - * @param mapView 地图View - * @param coordinate 经纬度 - */ -- (void)mapView:(MAMapView *)mapView didLongPressedAtCoordinate:(CLLocationCoordinate2D)coordinate; - -/** - * @brief 地图初始化完成(在此之后,可以进行坐标计算) - * @param mapView 地图View - */ -- (void)mapInitComplete:(MAMapView *)mapView; - -#if MA_INCLUDE_INDOOR -/** - * @brief 室内地图出现,返回室内地图信息 - * - * @param mapView 地图View - * @param indoorInfo 室内地图信息 - */ -- (void)mapView:(MAMapView *)mapView didIndoorMapShowed:(MAIndoorInfo *)indoorInfo; - -/** - * @brief 室内地图楼层发生变化,返回变化的楼层 - * - * @param mapView 地图View - * @param indoorInfo 变化的楼层 - */ -- (void)mapView:(MAMapView *)mapView didIndoorMapFloorIndexChanged:(MAIndoorInfo *)indoorInfo; - -/** - * @brief 室内地图消失后,返回室内地图信息 - * - * @param mapView 地图View - * @param indoorInfo 室内地图信息 - */ -- (void)mapView:(MAMapView *)mapView didIndoorMapHidden:(MAIndoorInfo *)indoorInfo; -#endif //end of MA_INCLUDE_INDOOR - -/** - * @brief 离线地图数据将要被加载, 调用reloadMap会触发该回调,离线数据生效前的回调. - * @param mapView 地图View - */ -- (void)offlineDataWillReload:(MAMapView *)mapView; - -/** - * @brief 离线地图数据加载完成, 调用reloadMap会触发该回调,离线数据生效后的回调. - * @param mapView 地图View - */ -- (void)offlineDataDidReload:(MAMapView *)mapView; - -@end - diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiColoredPolylineRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiColoredPolylineRenderer.h deleted file mode 100644 index f8cceba5..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiColoredPolylineRenderer.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// MAMultiColoredPolylineRenderer.h -// MapKit_static -// -// Created by yi chen on 12/11/15. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_MAMultiPolyline - -#import "MAPolylineRenderer.h" -#import "MAMultiPolyline.h" - -///此类用于绘制 MAMultiPolyline 对应的多彩线,支持分段颜色绘制 -@interface MAMultiColoredPolylineRenderer : MAPolylineRenderer - -///关联的MAMultiPolyline model -@property (nonatomic, readonly) MAMultiPolyline *multiPolyline; - -///分段绘制的颜色,需要分段颜色绘制时,必须设置(内容必须为UIColor)。根据multiPolyline.drawStyleIndexes属性指示的索引进行渲染。 -@property (nonatomic, strong) NSArray *strokeColors; - -///颜色是否渐变, 默认为NO。如果设置为YES,则为多彩渐变线。 -@property (nonatomic, getter=isGradient) BOOL gradient; - -/** - * @brief 根据指定的MAPolyline生成一个多段线Renderer - * @param multiPolyline 指定MAMultiPolyline - * @return 新生成的多段线Renderer -*/ -- (instancetype)initWithMultiPolyline:(MAMultiPolyline *)multiPolyline; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPoint.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPoint.h deleted file mode 100755 index 6274d24d..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPoint.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// MAMultiPoint.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAShape.h" -#import "MAGeometry.h" - -///该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化 -@interface MAMultiPoint : MAShape { - @package - MAMapPoint *_points; - NSUInteger _pointCount; - MAMapRect _boundingRect; -} - -///坐标点数组 -@property (nonatomic, readonly) MAMapPoint *points; - -///坐标点的个数 -@property (nonatomic, readonly) NSUInteger pointCount; - -///是否跨越180度经度线,默认NO since 6.4.0 -@property (nonatomic, assign, readonly) BOOL cross180Longitude; - -/** - * @brief 将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 - * @param coords 调用者提供的内存空间, 该空间长度必须大于等于要拷贝的坐标点的个数(range.length) - * @param range 要拷贝的数据范围 - */ -- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPointOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPointOverlay.h deleted file mode 100644 index cbbd5f20..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPointOverlay.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// MAMultiPointOverlay.h -// MAMapKit -// -// Created by hanxiaoming on 2017/4/11. -// Copyright © 2017年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_MAMultiPoint - -#import "MAShape.h" -#import "MAOverlay.h" - -///海量点overlay单个点对象(since 5.1.0) -@interface MAMultiPointItem : NSObject - -///经纬度 -@property (nonatomic, assign) CLLocationCoordinate2D coordinate; - -///唯一标识,默认为nil。 -@property (nonatomic, copy) NSString *customID; - -///标题 -@property (nonatomic, copy) NSString *title; - -///副标题 -@property (nonatomic, copy) NSString *subtitle; - -@end - - -///海量点overlay(since 5.1.0) -@interface MAMultiPointOverlay : MAShape - -///点对象集合 -@property (nonatomic, readonly) NSArray *items; - -///初始化方法 -- (instancetype)initWithMultiPointItems:(NSArray *)items; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPointOverlayRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPointOverlayRenderer.h deleted file mode 100644 index a53a2029..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPointOverlayRenderer.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// MAMultiPointOverlayRenderer.h -// MAMapKit -// -// Created by hanxiaoming on 2017/4/11. -// Copyright © 2017年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_MAMultiPoint - -#import "MAMultiPointOverlay.h" -#import "MAOverlayRenderer.h" - -@class MAMultiPointOverlayRenderer; - -///MAMultiPointOverlayRenderer代理(since 5.1.0) -@protocol MAMultiPointOverlayRendererDelegate -@optional - -/** - @brief 点击海量点图层回调 - - @param renderer 海量点图层渲染器 - @param item 被点击的单个点对象 - */ -- (void)multiPointOverlayRenderer:(MAMultiPointOverlayRenderer *)renderer didItemTapped:(MAMultiPointItem *)item; - -@end - -///海量点渲染renderer(since 5.1.0)。 注意:为了保证渲染效率,纹理不受alpha参数影响,如果需要设置透明度,请更换icon。 -@interface MAMultiPointOverlayRenderer : MAOverlayRenderer - -///MAMultiPointOverlayRendererDelegate代理对象 -@property (nonatomic, weak) id delegate; - -///标注纹理图片 -@property (nonatomic, strong) UIImage *icon; - -///纹理渲染大小,默认为icon图片大小 -@property (nonatomic, assign) CGSize pointSize; - -///经纬度对应图片中的位置,默认为(0.5,0.5),范围[0-1] 负值自动取其绝对值 左上角为 (0,0) 右下角为 (1,1) -@property (nonatomic, assign) CGPoint anchor; - -///对应的overlay -@property (nonatomic, readonly) MAMultiPointOverlay *multiPointOverlay; - -///初始化方法 -- (instancetype)initWithMultiPointOverlay:(MAMultiPointOverlay *)multiPointOverlay; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPolyline.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPolyline.h deleted file mode 100644 index d830f569..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiPolyline.h +++ /dev/null @@ -1,77 +0,0 @@ -// -// MAMultiPolyline.h -// MapKit_static -// -// Created by yi chen on 12/11/15. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_MAMultiPolyline - -#import "MAPolyline.h" - -///多彩线model类。此类用于定义一个由多个点相连的多段线,绘制时支持分段采用不同颜色(纹理)绘制,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAMultiPolyline是MAMultiColoredPolylineRenderer(分段颜色绘制)或MAMultiTexturePolylineRenderer(分段纹理绘制)的model -@interface MAMultiPolyline : MAPolyline - -/** - 绘制索引数组(纹理、颜色索引数组), 成员为NSNumber, 且为非负数。 - 例子:[1,3,6] 表示 0-1使用第一种颜色\纹理,1-3使用第二种,3-6使用第三种,6-最后使用第四种。 - 在渐变模式下(MAMultiColoredPolylineRenderer.gradient = YES),0-1使用第一种颜色,3使用第二种,6-最后使用第四种,1-3,3-6使用渐变色进行填充。 - - 注意:polyline在渲染时会进行抽稀以提高渲染效率,但是如果是设置为drawIndex的点,则不会被抽稀。 - 在每一个点都是索引点的极端情况下,则抽稀过程不会生效,点数量很多时会极大的影响渲染效率。所以请尽量少的设置索引点的数量。 - */ -@property (nonatomic, strong) NSArray *drawStyleIndexes; - -/** - * @brief 多彩线,根据MAMapPoint数据生成多彩线 - * - * 分段纹理绘制:其对应的MAMultiTexturePolylineRenderer必须设置strokeTextureImages属性; 否则使用默认的灰色纹理绘制。 - * 分段颜色绘制:其对应的MAMultiColoredPolylineRenderer必须设置strokeColors属性 - * - * @param points 指定的直角坐标点数组,注意:如果有连续重复点,需要去重处理,只保留一个,否则会导致绘制有问题。 - * @param count 坐标点的个数 - * @param drawStyleIndexes 纹理索引数组(颜色索引数组) - * @return 生成的折线对象 - */ -+ (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count drawStyleIndexes:(NSArray *) drawStyleIndexes; - -/** - * @brief 多彩线,根据经纬度坐标数据生成多彩线 - * - * 分段纹理绘制:其对应的MAMultiTexturePolylineRenderer必须设置strokeTextureImages属性; 否则使用默认的灰色纹理绘制。 - * 分段颜色绘制:其对应的MAMultiColoredPolylineRenderer必须设置strokeColors属性。 - * - * @param coords 指定的经纬度坐标点数组,注意:如果有连续重复点,需要去重处理,只保留一个,否则会导致绘制有问题。 - * @param count 坐标点的个数 - * @param drawStyleIndexes 纹理索引数组(颜色索引数组), 成员为NSNumber, 且为非负数。 - * @return 生成的折线对象 - */ -+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count drawStyleIndexes:(NSArray *) drawStyleIndexes; - -/** - * @brief 重新设置坐标点. since 5.0.0 - * @param points 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。注意:如果有连续重复点,需要去重处理,只保留一个,否则会导致绘制有问题。 - * @param count 坐标点的个数 - * @param drawStyleIndexes 纹理索引数组(颜色索引数组), 成员为NSNumber, 且为非负数。 - * @return 是否设置成功 - */ -- (BOOL)setPolylineWithPoints:(MAMapPoint *)points - count:(NSUInteger)count - drawStyleIndexes:(NSArray *)drawStyleIndexes; - -/** - * @brief 重新设置坐标点. since 5.0.0 - * @param coords 指定的经纬度坐标点数组,C数组,内部会做copy,调用者负责内存管理。注意:如果有连续重复点,需要去重处理,只保留一个,否则会导致绘制有问题。 - * @param count 坐标点的个数 - * @param drawStyleIndexes 纹理索引数组(颜色索引数组), 成员为NSNumber, 且为非负数。 - * @return 是否设置成功 - */ -- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords - count:(NSUInteger)count - drawStyleIndexes:(NSArray *)drawStyleIndexes; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiTexturePolylineRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiTexturePolylineRenderer.h deleted file mode 100644 index 0fe357ad..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAMultiTexturePolylineRenderer.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// MAMultiTexturePolylineRenderer.h -// MapKit_static -// -// Created by yi chen on 12/11/15. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_MAMultiPolyline - -#import "MAPolylineRenderer.h" -#import "MAMultiPolyline.h" - -///此类用于绘制MAMultiPolyline对应的多彩线,支持分段纹理绘制 -@interface MAMultiTexturePolylineRenderer : MAPolylineRenderer - -///关联的MAMultiPolyline model -@property (nonatomic, readonly) MAMultiPolyline *multiPolyline; - -///分段纹理图片数组, 支持非PowerOfTwo图片 -@property (nonatomic, strong) NSArray *strokeTextureImages; - -///取分段纹理id,返回分段纹理id数组, 如果strokeTextureImages未指定、尚未加载或加载失败,返回值可能包含0 -@property (nonatomic, strong, readonly) NSArray *strokeTextureIDs; - -/** - * @brief 根据指定的MAMultiPolyline生成一个多段线Renderer - * @param multiPolyline 指定MAMultiPolyline - * @return 新生成的多段线Renderer - */ -- (instancetype)initWithMultiPolyline:(MAMultiPolyline *)multiPolyline; - -/** - * @brief 加载分段绘制的纹理图片. 需要分段纹理绘制时,必须设置。否则使用默认纹理绘制 - * @param textureImages 必须为UIImage数组,支持非PowerOfTwo图片。若为nil,则清空原有纹理 - * @return 是否成功,若纹理加载失败返回0 - */ -- (BOOL)loadStrokeTextureImages:(NSArray *)textureImages __attribute__((deprecated("已废弃, 请通过属性strokeTextureImages设置"))); - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineCity.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineCity.h deleted file mode 100644 index 680709ca..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineCity.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// MAOfflineCity.h -// -// Copyright (c) 2013年 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import -#import "MAOfflineItem.h" - -///离线地图城市状态,deprecated -typedef enum{ - MAOfflineCityStatusNone __attribute__((deprecated("use MAOfflineItemStatusNone instead"))) = MAOfflineItemStatusNone, ///< 不存在,deprecated - MAOfflineCityStatusCached __attribute__((deprecated("use MAOfflineItemStatusCached instead"))) = MAOfflineItemStatusCached, ///< 缓存状态,deprecated - MAOfflineCityStatusInstalled __attribute__((deprecated("use MAOfflineItemStatusInstalled instead"))) = MAOfflineItemStatusInstalled, ///< 已安装,deprecated - MAOfflineCityStatusExpired __attribute__((deprecated("use MAOfflineItemStatusExpired instead"))) = MAOfflineItemStatusExpired ///< 已过期,deprecated -}MAOfflineCityStatus; - -///离线地图,城市信息 -@interface MAOfflineCity : MAOfflineItem - -///城市编码 -@property (nonatomic, copy, readonly) NSString *cityCode; - -///城市名称,deprecated,请使用name -@property (nonatomic, copy, readonly) NSString *cityName __attribute__((deprecated("use name instead"))); - -///下载地址,deprecated -@property (nonatomic, copy, readonly) NSString *urlString __attribute__((deprecated("Not supported in future version"))); - -///离线数据状态,deprecated,请使用itemStatus -@property (nonatomic, assign, readonly) MAOfflineCityStatus status __attribute__((deprecated("use itemStatus instead"))); - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItem.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItem.h deleted file mode 100644 index 56c08859..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItem.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// MAOfflineItem.h -// MapKit_static -// -// Created by songjian on 14-4-23. -// Copyright © 2016 Amap. All rights reserved. -// - - - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import - -///离线地图item状态 -typedef NS_ENUM(NSInteger, MAOfflineItemStatus) -{ - MAOfflineItemStatusNone = 0, ///<不存在 - MAOfflineItemStatusCached, ///<缓存状态 - MAOfflineItemStatusInstalled, ///<已安装 - MAOfflineItemStatusExpired ///<已过期 -}; - -@interface MAOfflineItem : NSObject - -///名字 -@property (nonatomic, copy, readonly) NSString *name; - -///简拼 -@property (nonatomic, copy, readonly) NSString *jianpin; - -///拼音 -@property (nonatomic, copy, readonly) NSString *pinyin; - -///区域编码 -@property (nonatomic, copy, readonly) NSString *adcode; - -///离线数据大小 -@property (nonatomic, assign, readonly) long long size; - -///状态 -@property (nonatomic, assign, readonly) MAOfflineItemStatus itemStatus; - -///已下载大小(当itemStatus == MAOfflineItemStatusCached 时有效) -@property (nonatomic, assign, readonly) long long downloadedSize; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemCommonCity.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemCommonCity.h deleted file mode 100644 index fea25963..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemCommonCity.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// MAOfflineItemCommonCity.h -// MapKit_static -// -// Created by songjian on 14-4-23. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import "MAOfflineCity.h" - -///普通城市 -@interface MAOfflineItemCommonCity : MAOfflineCity - -///所属省份 -@property (nonatomic, weak) MAOfflineItem *province; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemMunicipality.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemMunicipality.h deleted file mode 100644 index 37acf51e..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemMunicipality.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// MAOfflineItemMunicipality.h -// MapKit_static -// -// Created by songjian on 14-4-23. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import "MAOfflineCity.h" - -///直辖市 -@interface MAOfflineItemMunicipality : MAOfflineCity - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemNationWide.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemNationWide.h deleted file mode 100644 index 22dc2e35..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineItemNationWide.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// MAOfflineItemNationWide.h -// MapKit_static -// -// Created by songjian on 14-4-23. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import "MAOfflineCity.h" - -///全国概要 -@interface MAOfflineItemNationWide : MAOfflineCity - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineMap.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineMap.h deleted file mode 100644 index d00891ce..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineMap.h +++ /dev/null @@ -1,162 +0,0 @@ -// -// MAOfflineMap.h -// -// Copyright (c) 2013年 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import -#import "MAOfflineProvince.h" -#import "MAOfflineItemNationWide.h" -#import "MAOfflineItemMunicipality.h" - -///离线地图下载状态 -typedef NS_ENUM(NSInteger, MAOfflineMapDownloadStatus) -{ - MAOfflineMapDownloadStatusWaiting = 0, //!< 以插入队列,等待中 - MAOfflineMapDownloadStatusStart, //!< 开始下载 - MAOfflineMapDownloadStatusProgress, //!< 下载过程中 - MAOfflineMapDownloadStatusCompleted, //!< 下载成功 - MAOfflineMapDownloadStatusCancelled, //!< 取消 - MAOfflineMapDownloadStatusUnzip, //!< 解压缩 - MAOfflineMapDownloadStatusFinished, //!< 全部顺利完成 - MAOfflineMapDownloadStatusError //!< 发生错误 -}; - -///离线下载错误domain -extern NSString * const MAOfflineMapErrorDomain; - -///离线地图下载错误类型 -typedef NS_ENUM(NSInteger, MAOfflineMapError) -{ - MAOfflineMapErrorUnknown = -1, //!< 未知的错误 - MAOfflineMapErrorCannotWriteToTmp = -2, //!< 写入临时目录失败 - MAOfflineMapErrorCannotOpenZipFile = -3, //!< 打开归档文件失败 - MAOfflineMapErrorCannotExpand = -4 //!< 解归档文件失败 -}; - -/** - * 当downloadStatus == MAOfflineMapDownloadStatusProgress 时, info参数是个NSDictionary, - * 如下两个key用来获取已下载和总和的数据大小(单位byte), 对应的是NSNumber(long long) 类型. - * 当downloadStatus == MAOfflineMapDownloadStatusError 时, info参数是NSError - */ - -///下载过程info的key,表示已下载数据大小 -extern NSString * const MAOfflineMapDownloadReceivedSizeKey; - -///下载过程info的key,表示总的数据大小 -extern NSString * const MAOfflineMapDownloadExpectedSizeKey; - -/** - * @brief 离线地图下载过程回调block - * @param downloadItem 下载的item - * @param downloadStatus 下载状态 - * @param info 下载过程中的附加信息 - */ -typedef void(^MAOfflineMapDownloadBlock)(MAOfflineItem * downloadItem, MAOfflineMapDownloadStatus downloadStatus, id info); - -/** - * @brief 离线地图检查更新回调block - * @param hasNewestVersion 是否有新版本的布尔值 - */ -typedef void(^MAOfflineMapNewestVersionBlock)(BOOL hasNewestVersion); - -///离线地图管理类 -@interface MAOfflineMap : NSObject - -/** - * @brief 获取MAOfflineMap 单例 - * @return MAOfflineMap - */ -+ (MAOfflineMap *)sharedOfflineMap; - -///省份数组(每个元素均是MAOfflineProvince类型) -@property (nonatomic, readonly) NSArray *provinces; - -///直辖市数组(每个元素均是MAOfflineItemMunicipality类型) -@property (nonatomic, readonly) NSArray *municipalities; - -///全国概要图 -@property (nonatomic, readonly) MAOfflineItemNationWide *nationWide; - -///城市数组, 包括普通城市与直辖市 -@property (nonatomic, readonly) NSArray *cities; - -///离线数据的版本号(由年月日组成, 如@"20130715") -@property (nonatomic, readonly) NSString *version; - -/** - * @brief 初始化离线地图数据,如果第一次运行且offlinePackage.plist文件不存在,则需要首先执行此方法。否则MAOfflineMap中的省、市、版本号等数据都为空。 - * @param block 初始化完成回调 - */ -- (void)setupWithCompletionBlock:(void(^)(BOOL setupSuccess))block; - -/** - * @brief 启动下载 - * @param item 数据 - * @param shouldContinueWhenAppEntersBackground 进入后台是否允许继续下载 - * @param downloadBlock 下载过程block - */ -- (void)downloadItem:(MAOfflineItem *)item shouldContinueWhenAppEntersBackground:(BOOL)shouldContinueWhenAppEntersBackground downloadBlock:(MAOfflineMapDownloadBlock)downloadBlock; - -/** - * @brief 监测是否正在下载 - * @param item 条目 - * @return 是否在下载 - */ -- (BOOL)isDownloadingForItem:(MAOfflineItem *)item; - -/** - * @brief 暂停下载 - * @param item 条目 - * @return 是否在执行了cancel,如果该item并未在下载中,则返回NO - */ -- (BOOL)pauseItem:(MAOfflineItem *)item; - -/** - * @brief 删除item对应离线地图数据 - * @param item 条目 - */ -- (void)deleteItem:(MAOfflineItem *)item; - -/** - * @brief 取消全部下载 - */ -- (void)cancelAll; - -/** - * @brief 清除所有在磁盘上的离线地图数据, 之后调用[mapView reloadMap]会使其立即生效 - */ -- (void)clearDisk; - -/** - * @brief 监测新版本。注意:如果有新版本,会重建所有的数据,包括provinces、municipalities、nationWide、cities,外部使用应当在newestVersionBlock中更新所持有的对象。 - * @param newestVersionBlock 回调block - */ -- (void)checkNewestVersion:(MAOfflineMapNewestVersionBlock)newestVersionBlock; - -@end - -@interface MAOfflineMap (Deprecated) - -///deprecated -@property (nonatomic, readonly) NSArray *offlineCities __attribute__ ((deprecated("use cities instead"))); - -///deprecated -- (void)downloadCity:(MAOfflineCity *)city downloadBlock:(MAOfflineMapDownloadBlock)downloadBlock __attribute__ ((deprecated("use - (void)downloadItem:(MAOfflineItem *)item shouldContinueWhenAppEntersBackground:(BOOL)shouldContinueWhenAppEntersBackground downloadBlock:(MAOfflineMapDownloadBlock)downloadBlock instead"))); - -///deprecated -- (void)downloadCity:(MAOfflineCity *)city shouldContinueWhenAppEntersBackground:(BOOL)shouldContinueWhenAppEntersBackground downloadBlock:(MAOfflineMapDownloadBlock)downloadBlock __attribute__ ((deprecated("use - (void)downloadItem:(MAOfflineItem *)item shouldContinueWhenAppEntersBackground:(BOOL)shouldContinueWhenAppEntersBackground downloadBlock:(MAOfflineMapDownloadBlock)downloadBlock instead"))); - -///deprecated -- (BOOL)isDownloadingForCity:(MAOfflineCity *)city __attribute__ ((deprecated("use - (BOOL)isDownloadingForItem:(MAOfflineItem *)item instead"))); - -///deprecated -- (void)pause:(MAOfflineCity *)city __attribute__ ((deprecated("use - (void)pauseItem:(MAOfflineItem *)item instead"))); - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineMapViewController.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineMapViewController.h deleted file mode 100644 index d02a9519..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineMapViewController.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// MAOfflineMapViewController.h -// MAMapKit -// -// Created by hanxiaoming on 2017/12/14. -// Copyright © 2017年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OFFLINE - -#import -#import "MAOfflineMap.h" - -///离线地图ViewController(since 5.7.0) -@interface MAOfflineMapViewController : UIViewController - -/// MAOfflineMapViewController单例,请使用单例以保证离线地图状态正确同步。 -+ (instancetype)sharedInstance; - -///MAOfflineMap实例 -@property (nonatomic, readonly) MAOfflineMap *offlineMap; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineProvince.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineProvince.h deleted file mode 100644 index fe992ef5..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOfflineProvince.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// MAOfflineProvince.h -// MapKit_static -// -// Created by songjian on 14-4-24. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" - -#if MA_INCLUDE_OFFLINE - -#import "MAOfflineItem.h" -#import "MAOfflineItemCommonCity.h" - -///离线地图,省地图信息 -@interface MAOfflineProvince : MAOfflineItem - -///包含的城市数组(都是MAOfflineItemCommonCity类型) -@property (nonatomic, strong, readonly) NSArray *cities; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlay.h deleted file mode 100755 index 11b82520..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlay.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// MAOverlay.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import "MAAnnotation.h" -#import "MAGeometry.h" - -///该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类 -@protocol MAOverlay -@required - -///返回区域中心坐标 -@property (nonatomic, readonly) CLLocationCoordinate2D coordinate; - -///区域外接矩形 -@property (nonatomic, readonly) MAMapRect boundingMapRect; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlayPathRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlayPathRenderer.h deleted file mode 100755 index d4cf0c6f..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlayPathRenderer.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// MAOverlayPathRenderer.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAOverlayRenderer.h" -#import "MAPathShowRange.h" - -///该类设置overlay绘制的属性,可以使用该类的子类MACircleRenderer, MAPolylineRenderer, MAPolygonRenderer或者继承该类 -@interface MAOverlayPathRenderer : MAOverlayRenderer - -///填充颜色,默认是kMAOverlayRendererDefaultFillColor -@property (nonatomic, retain) UIColor *fillColor; - -///笔触颜色,默认是kMAOverlayRendererDefaultStrokeColor -@property (nonatomic, retain) UIColor *strokeColor; - -///笔触宽度, 单位屏幕点坐标,默认是0 -@property (nonatomic, assign) CGFloat lineWidth; - -///LineJoin,默认是kMALineJoinBevel -@property (nonatomic, assign) MALineJoinType lineJoinType; - -///LineCap,默认是kMALineCapButt -@property (nonatomic, assign) MALineCapType lineCapType; - -///MiterLimit,默认是2.f -@property (nonatomic, assign) CGFloat miterLimit; - -///是否绘制成虚线, 默认是NO -@property (nonatomic, assign) BOOL lineDash __deprecated_msg("已废弃,请使用lineDashType"); - -///虚线类型, since 5.5.0 -@property (nonatomic, assign) MALineDashType lineDashType; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlayRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlayRenderer.h deleted file mode 100755 index 0c1375ed..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAOverlayRenderer.h +++ /dev/null @@ -1,283 +0,0 @@ -// -// MAOverlayRenderer.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAOverlay.h" -#import "MALineDrawType.h" - -#define kMAOverlayRendererDefaultStrokeColor [UIColor colorWithRed:0.3 green:0.63 blue:0.89 alpha:0.8] -#define kMAOverlayRendererDefaultFillColor [UIColor colorWithRed:0.77 green:0.88 blue:0.94 alpha:0.8] - -@protocol MAOverlayRenderDelegate; - -///该类是地图覆盖物Renderer的基类, 提供绘制overlay的接口但并无实际的实现(render相关方法只能在重写后的glRender方法中使用) -@interface MAOverlayRenderer : NSObject { - @protected - GLuint _strokeTextureID; - CGSize _strokeTextureSize; - BOOL _needsUpdate; - BOOL _needsLoadStrokeTexture; -} - -///由地图添加时,不要手动设置。如果不是使用mapview进行添加,则需要手动设置。(since 5.1.0) -@property (nonatomic, weak) id rendererDelegate; - -///关联的overlay对象 -@property (nonatomic, readonly, retain) id overlay; - -///用于生成笔触纹理id的图片(支持非PowerOfTwo图片; 如果您需要减轻绘制产生的锯齿,您可以参考AMap.bundle中的traffic_texture_blue.png的方式,在image两边增加部分透明像素.)。(since 5.3.0) -@property (nonatomic, strong) UIImage *strokeImage; - -///笔触纹理id, 修改纹理id参考, 如果strokeImage未指定、尚未加载或加载失败返回0 -@property (nonatomic, readonly) GLuint strokeTextureID; - -///透明度[0,1],默认为1. 使用MAOverlayRenderer类提供的渲染接口会自动应用此属性。(since 5.1.0) -@property (nonatomic, assign) CGFloat alpha; - -///overlay渲染的scale。(since 5.1.0) -@property (nonatomic, readonly) CGFloat contentScale; - -/** - * @brief 初始化并返回一个Overlay Renderer - * @param overlay 关联的overlay对象 - * @return 初始化成功则返回overlay view,否则返回nil - */ -- (instancetype)initWithOverlay:(id)overlay; - -/** - * @brief 获取当前地图view矩阵,数组长度为16,无需外界释放. 需要添加至地图后,才能获取有效矩阵数据,否则返回NULL - * @return 矩阵数组 - */ -- (float *)getViewMatrix; - -/** - * @brief 获取当前地图projection矩阵,数组长度为16,无需外界释放. 需要添加至地图后,才能获取有效矩阵数据,否则返回NULL - * @return 矩阵数组 - */ -- (float *)getProjectionMatrix; - -/** - * @brief 获取当前地图中心点偏移,用以把地图坐标转换为gl坐标。需要添加到地图获取才有效。(since 5.1.0) - * @return 偏移 - */ -- (MAMapPoint)getOffsetPoint; - -/** - * @brief 获取当前地图缩放级别,需要添加到地图获取才有效。(since 5.1.0) - * @return 缩放级别 - */ -- (CGFloat)getMapZoomLevel; - -/** - * @brief 将MAMapPoint转换为opengles可以直接使用的坐标 - * @param mapPoint MAMapPoint坐标 - * @return 直接支持的坐标 - */ -- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint; - -/** - * @brief 批量将MAMapPoint转换为opengles可以直接使用的坐标 - * @param mapPoints MAMapPoint坐标数据指针 - * @param count 个数 - * @return 直接支持的坐标数据指针(需要调用者手动释放) - */ -- (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count; - -/** - * @brief 将屏幕尺寸转换为OpenGLES尺寸 - * @param windowWidth 屏幕尺寸 - * @return OpenGLES尺寸 - */ -- (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth; - -/** - * @brief 使用OpenGLES 绘制线 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param strokeColor 线颜色 - * @param lineWidth OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param looped 是否闭合, 如polyline会设置NO, polygon会设置YES - */ -- (void)renderLinesWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - strokeColor:(UIColor *)strokeColor - lineWidth:(CGFloat)lineWidth - looped:(BOOL)looped __attribute__((deprecated("已废弃")));; - -/** - * @brief 使用OpenGLES 绘制线 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param strokeColor 线颜色 - * @param lineWidth OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param looped 是否闭合, 如polyline会设置NO, polygon会设置YES - * @param lineJoinType 线连接点样式 - * @param lineCapType 线端点样式 - * @param lineDash 虚线类型 - */ -- (void)renderLinesWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - strokeColor:(UIColor *)strokeColor - lineWidth:(CGFloat)lineWidth - looped:(BOOL)looped - LineJoinType:(MALineJoinType)lineJoinType - LineCapType:(MALineCapType)lineCapType - lineDash:(MALineDashType)lineDash __attribute__((deprecated("已废弃"))); - -/** - * @brief 使用OpenGLES 按指定纹理绘制线 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param lineWidth 线OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param textureID 指定的纹理 - * @param looped 是否闭合, 如polyline会设置NO, polygon会设置YES - */ -- (void)renderTexturedLinesWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - lineWidth:(CGFloat)lineWidth - textureID:(GLuint)textureID - looped:(BOOL)looped __attribute__((deprecated("已废弃"))); - -/** - * @brief 使用OpenGLES 绘制多纹理线 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param lineWidth 线OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param textureIDs 各段指定的纹理 使用- (BOOL)loadStrokeTextureImages:(NSArray *)textureImages;加载,在strokeTextureIDs属性中获取 - * @param drawStyleIndexes 纹理索引数组,成员为NSNumber,且为非负数,负数按0处理 - * @param looped 是否闭合, 如polyline会设置NO, polygon会设置YES - */ -- (void)renderTexturedLinesWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - lineWidth:(CGFloat)lineWidth - textureIDs:(NSArray *)textureIDs - drawStyleIndexes:(NSArray *)drawStyleIndexes - looped:(BOOL)looped __attribute__((deprecated("已废弃"))); - - -/** - * @brief 使用OpenGLES 绘制多段颜色线 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param strokeColors 各段指定的颜色 - * @param drawStyleIndexes 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理 - * @param isGradient 颜色是否渐变 - * @param lineWidth 线OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param looped 是否闭合, 如polyline会设置NO, polygon会设置YES - * @param lineJoinType 线连接点样式 - * @param lineCapType 线端点样式 - * @param lineDash 虚线类型 - */ -- (void)renderLinesWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - strokeColors:(NSArray *)strokeColors - drawStyleIndexes:(NSArray *)drawStyleIndexes - isGradient:(BOOL)isGradient - lineWidth:(CGFloat)lineWidth - looped:(BOOL)looped - LineJoinType:(MALineJoinType)lineJoinType - LineCapType:(MALineCapType)lineCapType - lineDash:(MALineDashType)lineDash __attribute__((deprecated("已废弃"))); - - -/** - * @brief 使用OpenGLES 绘制区域 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param fillColor 填充颜色 - * @param usingTriangleFan 若必为凸多边形输入YES,可能为凹多边形输入NO - */ -- (void)renderRegionWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - fillColor:(UIColor *)fillColor - usingTriangleFan:(BOOL)usingTriangleFan __attribute__((deprecated("已废弃"))); - - -/** - * @brief 使用OpenGLES 绘制区域(带轮廓线) \n注意:strokeLineWidth为0 或 strokeColor为nil 时不绘制轮廓线。 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param fillColor 填充颜色 - * @param strokeColor 轮廓线颜色 - * @param strokeLineWidth 轮廓线宽。OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param strokeLineJoinType 轮廓线连接点样式 - * @param strokeLineDash 轮廓虚线类型 - * @param usingTriangleFan 若必为凸多边形输入YES,可能为凹多边形输入NO - */ -- (void)renderStrokedRegionWithPoints:(CGPoint *)points pointCount:(NSUInteger)pointCount - fillColor:(UIColor *)fillColor - strokeColor:(UIColor *)strokeColor - strokeLineWidth:(CGFloat)strokeLineWidth - strokeLineJoinType:(MALineJoinType)strokeLineJoinType - strokeLineDash:(MALineDashType)strokeLineDash - usingTriangleFan:(BOOL)usingTriangleFan __attribute__((deprecated("已废弃"))); - - -/** - * @brief 使用OpenGLES 绘制区域(带纹理轮廓线) \n注意:strokeLineWidth为0 或 strokeTexture为0 时不绘制轮廓线。 - * @param points OpenGLES坐标系点指针, 参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param pointCount 点个数 - * @param fillColor 填充颜色 - * @param strokeLineWidth 轮廓线宽。OpenGLES支持线宽尺寸, 参考 - (CGFloat)glWidthForWindowWidth:(CGFloat)windowWidth - * @param strokeTexture 轮廓线纹理。使用- (void)loadStrokeTextureImage:(UIImage *)textureImage;加载 - * @param usingTriangleFan 若必为凸多边形输入YES,可能为凹多边形输入NO - */ -- (void)renderTextureStrokedRegionWithPoints:(CGPoint *)points - pointCount:(NSUInteger)pointCount - fillColor:(UIColor *)fillColor - strokeTineWidth:(CGFloat)strokeLineWidth - strokeTextureID:(GLuint)strokeTexture - usingTriangleFan:(BOOL)usingTriangleFan __attribute__((deprecated("已废弃"))); - -/** - * @brief 使用OpenGLES 绘制图片 - * @param textureID OpenGLES纹理ID - * @param points OpenGLES坐标系点指针,纹理矩形的四个顶点坐标,其第一个坐标为图片左上角,依次顺时针传入其他顶点 ,参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - */ -- (void)renderIconWithTextureID:(GLuint)textureID points:(CGPoint *)points __attribute__((deprecated("已废弃"))); - -/** - * @brief 使用OpenGLES 绘制图片 - * @param textureID OpenGLES纹理ID - * @param points OpenGLES坐标系点指针,纹理矩形的四个顶点坐标,其第一个坐标为图片左上角,依次顺时针传入其他顶点 ,参考- (CGPoint)glPointForMapPoint:(MAMapPoint)mapPoint, - (CGPoint *)glPointsForMapPoints:(MAMapPoint *)mapPoints count:(NSUInteger)count - * @param modulateColor 调节颜色值, 最终颜色 = 纹理色 * modulateColor. 如只需要调节alpha的话就设置为[red=1, green=1, blue=1, alpha=0.5] - */ -- (void)renderIconWithTextureID:(GLuint)textureID points:(CGPoint *)points modulateColor:(UIColor *)modulateColor __attribute__((deprecated("已废弃"))); - -/** - * @brief 绘制函数(子类需要重载来实现) - */ -- (void)glRender; - -/** - * @brief 加载纹理图片,纹理ID存储在成员strokeTextureID中。纹理图片为nil时,清空原有纹理 - * @param textureImage 纹理图片(需满足:长宽相等,且宽度值为2的次幂)。若为nil,则清空原有纹理 - * @return openGL纹理ID, 若纹理加载失败返回0 - */ -- (GLuint)loadStrokeTextureImage:(UIImage *)textureImage __attribute__((deprecated("已废弃, 请通过属性strokeImage设置"))); - -/** - * @brief 加载纹理图片(since 5.1.0) - * @param textureImage 纹理图片(需满足:长宽相等,且宽度值为2的次幂) - * @return openGL纹理ID, 若纹理加载失败返回0 - */ -- (GLuint)loadTexture:(UIImage *)textureImage; - -/** - @brief 删除纹理(since 5.1.0) - @param textureId 纹理ID - */ -- (void)deleteTexture:(GLuint)textureId; - -/** - * @brief 当关联overlay对象有更新时,调用此接口刷新. since 5.0.0 - */ -- (void)setNeedsUpdate; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlay.h deleted file mode 100644 index 48ef2490..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlay.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// MAParticleOverlay.h -// MAMapKit -// -// Created by liubo on 2018/9/19. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_ParticleSystem - -#import "MAShape.h" -#import "MAOverlay.h" -#import "MAParticleOverlayOptions.h" - -#pragma mark - MAParticleOverlay - -///该类用于定义一个粒子MAParticleOverlay, 通常MAParticleOverlay是MAParticleOverlayRenderer的model. since 6.5.0 -@interface MAParticleOverlay : MAShape - -/** - * @brief 根据粒子覆盖物选项option生成MAParticleOverlay - * @param option 粒子覆盖物选项option - * @return 新生成的粒子覆盖物MAParticleOverlay - */ -+ (instancetype)particleOverlayWithOption:(MAParticleOverlayOptions *)option; - -///当前粒子覆盖物的option,如果需要修改option的配置,需要修改后重新调用setOverlayOption:方法。 -@property (nonatomic, strong, readonly) MAParticleOverlayOptions *overlayOption; - -/** - * @brief 更新粒子覆盖物选项option - * @param overlayOption 要更新的粒子覆盖物选项 - */ -- (void)updateOverlayOption:(MAParticleOverlayOptions *)overlayOption; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlayOptions.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlayOptions.h deleted file mode 100644 index 10404c67..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlayOptions.h +++ /dev/null @@ -1,297 +0,0 @@ -// -// MAParticleOverlayOptions.h -// MAMapKit -// -// Created by liubo on 2018/9/18. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_ParticleSystem - -#import "MAShape.h" -#import "MAOverlay.h" - -#pragma mark - MAParticleOverlayType - -///天气类型 -typedef NS_ENUM(NSInteger, MAParticleOverlayType) -{ - MAParticleOverlayTypeSunny = 1, ///<晴天 - MAParticleOverlayTypeRain, ///<雨天 - MAParticleOverlayTypeSnowy, ///<雪天 - MAParticleOverlayTypeHaze, ///<雾霾 -}; - -#pragma mark - MAParticleVelocityGenerate - -///粒子的速度生成类. since 6.5.0 -@protocol MAParticleVelocityGenerate -@required - -///X轴方向上的速度变化率 -- (CGFloat)getX; - -///Y轴方向上的速度变化率 -- (CGFloat)getY; - -///Z轴方向上的速度变化率 -- (CGFloat)getZ; -@end - -#pragma mark - MAParticleRandomVelocityGenerate - -///粒子的随机速度生成类. since 6.5.0 -@interface MAParticleRandomVelocityGenerate : NSObject - -/** - * @brief 根据速度范围值生成粒子的速度变化类 - * @param x1 起始的速度x值 - * @param y1 起始的速度y值 - * @param z1 起始的速度z值 - * @param x2 结束的速度x值 - * @param y2 结束的速度y值 - * @param z2 结束的速度z值 - * @return 生成粒子的颜色变化类 - */ -- (instancetype)initWithBoundaryValueX1:(float)x1 Y1:(float)y1 Z1:(float)z1 X2:(float)x2 Y2:(float)y2 Z2:(float)z2; - -@end - -#pragma mark - MAParticleColorGenerate - -///粒子的颜色生成类. since 6.5.0 -@protocol MAParticleColorGenerate -@required -///生成的颜色值,需为包含四个float值的数组。 -- (float *)getColor; -@end - -#pragma mark - MAParticleRandomColorGenerate - -///粒子的随机颜色生成类. since 6.5.0 -@interface MAParticleRandomColorGenerate : NSObject - -/** - * @brief 根据颜色范围值生成粒子的颜色变化类 - * @param r1 起始的颜色r值 - * @param g1 起始的颜色g值 - * @param b1 起始的颜色b值 - * @param a1 起始的颜色a值 - * @param r2 结束的颜色r值 - * @param g2 结束的颜色g值 - * @param b2 结束的颜色b值 - * @param a2 结束的颜色a值 - * @return 生成粒子的颜色变化类 - */ -- (instancetype)initWithBoundaryColorR1:(float)r1 G1:(float)g1 B1:(float)b1 A1:(float)a1 R2:(float)r2 G2:(float)g2 B2:(float)b2 A2:(float)a2; - -@end - -#pragma mark - MAParticleRotationGenerate - -///粒子的角度生成类. since 6.5.0 -@protocol MAParticleRotationGenerate -@required -///生成的角度值 -- (float)getRotate; -@end - -#pragma mark - MAParticleConstantRotationGenerate - -///粒子的固定角度生成类. since 6.5.0 -@interface MAParticleConstantRotationGenerate : NSObject - -/** - * @brief 根据角度生成粒子的角度变化类 - * @param rotate 固定的角度 - * @return 生成粒子的角度变化类 - */ -- (instancetype)initWithRotate:(float)rotate; - -@end - -#pragma mark - MAParticleSizeGenerate - -///粒子的大小生成类. since 6.5.0 -@protocol MAParticleSizeGenerate -@required - -///X轴上变化比例 -- (float)getSizeX:(float)timeFrame; - -///Y轴上变化比例 -- (float)getSizeY:(float)timeFrame; - -///Z轴上变化比例 -- (float)getSizeZ:(float)timeFrame; -@end - -#pragma mark - MAParticleCurveSizeGenerate - -///粒子的大小变化类. since 6.5.0 -@interface MAParticleCurveSizeGenerate : NSObject - -/** - * @brief 根据三个轴上的变化比例生成粒子的大小变化类 - * @param x X轴上变化比例 - * @param y Y轴上变化比例 - * @param z Z轴上变化比例 - * @return 生成粒子的大小变化类 - */ -- (instancetype)initWithCurveX:(float)x Y:(float)y Z:(float)z; - -@end - -#pragma mark - MAParticleEmissionModule - -///粒子的发射率类,每隔多少时间发射粒子数量,越多会越密集. since 6.5.0 -@interface MAParticleEmissionModule : NSObject - -/** - * @brief 根据发射数量和发射间隔生成粒子的发射率类。关系为:"发射数量为rate粒子->等待rateTime间隔->发射数量为rate粒子->等待rateTime间隔"循环 - * @param rate 发射数量(不能为0) - * @param rateTime 发射间隔 - * @return 生成粒子的发射率类 - */ -- (instancetype)initWithEmissionRate:(int)rate rateTime:(int)rateTime; - -@end - -#pragma mark - MAParticleShapeModule - -///粒子的发射区域模型协议. since 6.5.0 -@protocol MAParticleShapeModule -@required - -///新生成的发射点坐标,需为包含三个float值的数组。 -- (float *)getPoint; - -///坐标是否按比例生成 -- (BOOL)isRatioEnable; -@end - -#pragma mark - MAParticleSinglePointShapeModule - -///粒子的发射单个点区域模型. since 6.5.0 -@interface MAParticleSinglePointShapeModule : NSObject - -/** - * @brief 生成粒子的发射矩形区域模型,以比例的形式设置发射区域 - * @param x x坐标比例 - * @param y y坐标比例 - * @param z z坐标比例 - * @param isUseRatio 是否按比例 - * @return 新生成的粒子发射单个点区域模型 - */ -- (instancetype)initWithShapeX:(float)x Y:(float)y Z:(float)z useRatio:(BOOL)isUseRatio; - -@end - -#pragma mark - MAParticleRectShapeModule - -///粒子的发射矩形区域模型. since 6.5.0 -@interface MAParticleRectShapeModule : NSObject - -/** - * @brief 生成粒子的发射矩形区域模型,以比例的形式设置发射区域。 - * @param left 左边距比例 - * @param top 上边距比例 - * @param right 右边距比例 - * @param bottom 下边距比例 - * @param isUseRatio 是否按比例 - * @return 新生成的粒子发射矩形区域模型 - */ -- (instancetype)initWithLeft:(float)left top:(float)top right:(float)right bottom:(float)bottom useRatio:(BOOL)isUseRatio; - -@end - -#pragma mark - MAParticleOverLifeModule - -///粒子生命周期过程中状态变化,包含速度、旋转和颜色的变化. since 6.5.0 -@interface MAParticleOverLifeModule : NSObject - -/** - * @brief 设置粒子生命周期过程中速度的变化 - * @param velocity 遵循MAParticleVelocityGenerate协议的速度生成类 - */ -- (void)setVelocityOverLife:(id)velocity; - -/** - * @brief 设置粒子生命周期过程中角度的变化 - * @param rotation 遵循MAParticleRotationGenerate协议的角度生成类 - */ -- (void)setRotationOverLife:(id)rotation; - -/** - * @brief 设置粒子生命周期过程中大小的变化 - * @param size 遵循MAParticleSizeGenerate协议的大小生成类 - */ -- (void)setSizeOverLife:(id)size; - -/** - * @brief 设置粒子生命周期过程中颜色的变化 - * @param color 遵循MAParticleColorGenerate协议的颜色生成类 - */ -- (void)setColorOverLife:(id)color; - -@end - -#pragma mark - MAParticleOverlayOptions - -///该类用于定义一个粒子覆盖物显示选项. since 6.5.0 -@interface MAParticleOverlayOptions : NSObject - -///option选项是否可见. (默认YES) -@property (nonatomic, assign) BOOL visibile; - -///粒子系统存活时间. (默认5000,单位毫秒) -@property (nonatomic, assign) NSTimeInterval duration; - -///粒子系统是否循环. (默认YES) -@property (nonatomic, assign) BOOL loop; - -///粒子系统的粒子最大数量. (默认100) -@property (nonatomic, assign) NSInteger maxParticles; - -///粒子系统的粒子图标. (默认nil) -@property (nonatomic, strong) UIImage *icon; - -///每个粒子的初始大小. (默认(32.f*[[UIScreen mainScreen] nativeScale], 32.f*[[UIScreen mainScreen] nativeScale]),单位:OpenGLESPixels数量,计算方式为: OpenGLESPixels = ScreenPoint数量 * [[UIScreen mainScreen] nativeScale]) -@property (nonatomic, assign) CGSize startParticleSize; - -///每个粒子的存活时间. (默认5000,单位毫秒) -@property (nonatomic, assign) NSTimeInterval particleLifeTime; - -///每个粒子的初始颜色. (默认nil) -@property (nonatomic, strong) id particleStartColor; - -///每个粒子的初始速度. (默认nil) -@property (nonatomic, strong) id particleStartSpeed; - -///粒子的发射率,参考 MAParticleEmissionModule 类. (默认nil) -@property (nonatomic, strong) MAParticleEmissionModule *particleEmissionModule; - -///粒子的发射区域模型. (默认nil) -@property (nonatomic, strong) id particleShapeModule; - -///粒子生命周期过程,参考 MAParticleOverLifeModule 类. (默认nil) -@property (nonatomic, strong) MAParticleOverLifeModule *particleOverLifeModule; - -@end - -#pragma mark - MAParticleOverlayOptionsFactory - -///该类用于根据指定的天气类型,生成SDK内置的天气粒子覆盖物显示选项option. since 6.5.0 -@interface MAParticleOverlayOptionsFactory : NSObject - -/** - * @brief 根据指定的天气类型生成粒子覆盖物显示选项option - * @param particleType 天气类型 - * @return 新生成的粒子覆盖物显示选项option - */ -+ (NSArray *)particleOverlayOptionsWithType:(MAParticleOverlayType)particleType; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlayRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlayRenderer.h deleted file mode 100644 index 00bb3667..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAParticleOverlayRenderer.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// MAParticleOverlayRenderer.h -// MAMapKit -// -// Created by liubo on 2018/9/19. -// Copyright © 2018年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_ParticleSystem - -#import "MAOverlayRenderer.h" -#import "MAParticleOverlayOptions.h" -#import "MAParticleOverlay.h" - -///该类是MAParticleOverlay的显示Renderer. since 6.5.0 -@interface MAParticleOverlayRenderer : MAOverlayRenderer - -///关联的MAParticleOverlay model -@property (nonatomic, readonly) MAParticleOverlay *particleOverlay; - -/** - * @brief 根据指定MAParticleOverlay生成对应的Renderer - * @param particleOverlay 指定的MAParticleOverlay model - * @return 生成的Renderer - */ -- (instancetype)initWithParticleOverlay:(MAParticleOverlay *)particleOverlay; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPathShowRange.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPathShowRange.h deleted file mode 100644 index b824849b..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPathShowRange.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// MAPathShowRange.h -// MAMapKit -// -// Created by shaobin on 2019/12/31. -// Copyright © 2019 Amap. All rights reserved. -// - -#ifndef MAPathShowRange_h -#define MAPathShowRange_h - -struct MAPathShowRange { - float begin; ///<起点位置,整数部分表示起点索引,小数部分表示在线段上的位置 - float end; ///<终点位置,整数部分表示起点索引,小数部分表示在线段上的位置 -}; - -typedef struct MAPathShowRange MAPathShowRange; - -static inline MAPathShowRange MAPathShowRangeMake(float begin, float end) { - return (MAPathShowRange){begin, end}; -} - - -#endif /* MAPathShowRange_h */ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPinAnnotationView.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPinAnnotationView.h deleted file mode 100644 index e6e866c8..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPinAnnotationView.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// MAPinAnnotationView.h -// MAMapKitDemo -// -// Created by songjian on 13-1-7. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import "MAMapView.h" -#import "MAAnnotationView.h" - -///MAPinAnnotationColor -typedef NS_ENUM(NSInteger, MAPinAnnotationColor){ - MAPinAnnotationColorRed = 0, ///< 红色大头针 - MAPinAnnotationColorGreen, ///< 绿色大头针 - MAPinAnnotationColorPurple ///< 紫色大头针 -}; - -///提供类似大头针效果的annotation view -@interface MAPinAnnotationView : MAAnnotationView - -///大头针的颜色 -@property (nonatomic) MAPinAnnotationColor pinColor; - -///添加到地图时是否使用下落动画效果 -@property (nonatomic) BOOL animatesDrop; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPointAnnotation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPointAnnotation.h deleted file mode 100644 index 207b7249..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPointAnnotation.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// MAPointAnnotation.h -// MAMapKitDemo -// -// Created by songjian on 13-1-7. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import "MAShape.h" -#import - -///点标注数据 -@interface MAPointAnnotation : MAShape - -///经纬度 -@property (nonatomic, assign) CLLocationCoordinate2D coordinate; - -///是否固定在屏幕一点, 注意,拖动或者手动改变经纬度,都会导致设置失效 -@property (nonatomic, assign, getter = isLockedToScreen) BOOL lockedToScreen; - -///固定屏幕点的坐标 -@property (nonatomic, assign) CGPoint lockedScreenPoint; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolygon.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolygon.h deleted file mode 100755 index 409be609..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolygon.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// MAPolygon.h -// MAMapKit -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAMultiPoint.h" -#import "MAOverlay.h" - -///此类用于定义一个由多个点组成的闭合多边形, 点与点之间按顺序尾部相连, 第一个点与最后一个点相连, 通常MAPolygon是MAPolygonView的model -@interface MAPolygon : MAMultiPoint - -///设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持MAPolgon类型和MACircle类型,不支持与polygon边相交或在polygon外部,不支持hollowShapes彼此间相交,和空洞顺序有关,不支持嵌套. since 5.5.0 -@property (nonatomic, strong) NSArray> *hollowShapes; - -/** - * @brief 根据经纬度坐标数据生成闭合多边形 - * @param coords 经纬度坐标点数据,coords对应的内存会拷贝,调用者负责该内存的释放 - * @param count 经纬度坐标点数组个数 - * @return 新生成的多边形 - */ -+ (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; - -/** - * @brief 根据map point数据生成多边形 - * @param points map point数据,points对应的内存会拷贝,调用者负责该内存的释放 - * @param count 点的个数 - * @return 新生成的多边形 - */ -+ (instancetype)polygonWithPoints:(MAMapPoint *)points count:(NSUInteger)count; - -/** - * @brief 重新设置多边形顶点. since 5.0.0 - * @param points 指定的直角坐标点数组, C数组,内部会做copy,调用者负责内存管理 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setPolygonWithPoints:(MAMapPoint *)points count:(NSInteger)count; - -/** - * @brief 重新设置多边形顶点. since 5.0.0 - * @param coords 指定的经纬度坐标点数组, C数组,内部会做copy,调用者负责内存管理 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolygonRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolygonRenderer.h deleted file mode 100755 index af97f82a..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolygonRenderer.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// MAPolygonRenderer.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAPolygon.h" -#import "MAOverlayPathRenderer.h" - -///此类用于绘制MAPolygon,可以通过MAOverlayPathRenderer修改其fill和stroke attributes -@interface MAPolygonRenderer : MAOverlayPathRenderer - -///关联的MAPolygon model -@property (nonatomic, readonly) MAPolygon *polygon; - -/** - * @brief 根据指定的多边形生成一个多边形Renderer - * @param polygon polygon 指定的多边形数据对象 - * @return 新生成的多边形Renderer - */ -- (instancetype)initWithPolygon:(MAPolygon *)polygon; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolyline.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolyline.h deleted file mode 100755 index 6772ddf6..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolyline.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// MAPolyline.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import "MAMultiPoint.h" -#import "MAOverlay.h" - -///此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineView的model -@interface MAPolyline : MAMultiPoint - -/** - * @brief 根据map point数据生成多段线 - * @param points map point数据,points对应的内存会拷贝,调用者负责该内存的释放 - * @param count map point个数 - * @return 生成的多段线 - */ -+ (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count; - -/** - * @brief 根据经纬度坐标数据生成多段线 - * @param coords 经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放 - * @param count 经纬度坐标个数 - * @return 生成的多段线 - */ -+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; - -/** - * @brief 重新设置折线坐标点. since 5.0.0 - * @param points 指定的直角坐标点数组, C数组,内部会做copy,调用者负责内存管理 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setPolylineWithPoints:(MAMapPoint *)points count:(NSInteger)count; - -/** - * @brief 重新设置折线坐标点. since 5.0.0 - * @param coords 指定的经纬度坐标点数组, C数组,内部会做copy,调用者负责内存管理 - * @param count 坐标点的个数 - * @return 是否设置成功 - */ -- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger)count; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolylineRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolylineRenderer.h deleted file mode 100755 index 705db464..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAPolylineRenderer.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// MAPolylineRenderer.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAPolyline.h" -#import "MAOverlayPathRenderer.h" -#import "MAPathShowRange.h" - -///此类用于绘制MAPolyline,可以通过MAOverlayPathRenderer修改其fill和stroke attributes -@interface MAPolylineRenderer : MAOverlayPathRenderer - -///关联的MAPolyline model -@property (nonatomic, readonly) MAPolyline *polyline; - -///设置是否显示3d箭头线, 默认为NO。如果设置为YES,则为3d箭头线。since 6.7.0 -@property (nonatomic, assign) BOOL is3DArrowLine; - -///设置为立体3d箭头的侧边颜色(当is3DArrowLine为YES时有效)顶部颜色使用strokeColor。since 6.7.0 -@property (nonatomic, strong) UIColor *sideColor; - -///是否开启点击选中功能,默认NO. since 7.1.0 -@property (nonatomic, assign) BOOL userInteractionEnabled; - -///用于调整点击选中热区大小,默认为0. 负值增大热区,正值减小热区. since 7.1.0 -@property (nonatomic, assign) CGFloat hitTestInset; - -///是否启用显示范围,YES启用,不启用时展示全路径 since 7.5.0 -@property (nonatomic, assign) BOOL showRangeEnabled; - -///显示范围 since 7.5.0 -@property (nonatomic, assign) MAPathShowRange showRange; - -/** - * @brief 根据指定的MAPolyline生成一个多段线Renderer - * @param polyline 指定MAPolyline - * @return 新生成的多段线Renderer - */ -- (instancetype)initWithPolyline:(MAPolyline *)polyline; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAShape.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAShape.h deleted file mode 100755 index 0745a908..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAShape.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// MAShape.h -// MAMapKit -// -// -// Copyright (c) 2011年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAAnnotation.h" - -///该类为一个抽象类,定义了基于MAAnnotation的MAShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用 -@interface MAShape : NSObject { - - NSString *_title; ///<标题 - NSString *_subtitle; ///<副标题 -} - -///标题 -@property (nonatomic, copy) NSString *title; - -///副标题 -@property (nonatomic, copy) NSString *subtitle; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATileOverlay.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATileOverlay.h deleted file mode 100644 index 7dfa701a..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATileOverlay.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// MATileOverlay.h -// MapKit_static -// -// Created by Li Fei on 11/22/13. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_TILE - -#import "MAOverlay.h" - -///该类是覆盖在球面墨卡托投影上的图片tiles的数据源 -@interface MATileOverlay : NSObject - -///瓦片大小,默认是256x256, 最小支持64*64 -@property (nonatomic, assign) CGSize tileSize; - -///tileOverlay的可见最小Zoom值 -@property NSInteger minimumZ; - -///tileOverlay的可见最大Zoom值 -@property NSInteger maximumZ; - -///同initWithURLTemplate:中的URLTemplate -@property (readonly) NSString *URLTemplate; - -///暂未开放 -@property (nonatomic) BOOL canReplaceMapContent; - -///区域外接矩形,可用来设定tileOverlay的可渲染区域 -@property (nonatomic) MAMapRect boundingMapRect; - -///是否停止不在显示区域内的瓦片下载,默认NO. since 5.3.0 -@property (nonatomic, assign) BOOL disableOffScreenTileLoading; - -/** - * @brief 根据指定的URLTemplate生成tileOverlay - * @param URLTemplate URLTemplate是一个包含"{x}","{y}","{z}","{scale}"的字符串,"{x}","{y}","{z}","{scale}"会被tile path的值所替换,并生成用来加载tile图片数据的URL 。例如 http://server/path?x={x}&y={y}&z={z}&scale={scale} - * @return 以指定的URLTemplate字符串生成tileOverlay - */ -- (id)initWithURLTemplate:(NSString *)URLTemplate; - -@end - -///MATileOverlayPath -struct MATileOverlayPath{ - NSInteger x; ///< x坐标 - NSInteger y; ///< y坐标 - NSInteger z; ///< 缩放级别 - CGFloat contentScaleFactor; ///< 屏幕的scale factor -}; -typedef struct MATileOverlayPath MATileOverlayPath; - -///子类可覆盖CustomLoading中的方法来自定义加载MATileOverlay的行为。 -@interface MATileOverlay (CustomLoading) - -/** - * @brief 以tile path生成URL。用于加载tile,此方法默认填充URLTemplate - * @param path tile path - * @return 以tile path生成tileOverlay - */ -- (NSURL *)URLForTilePath:(MATileOverlayPath)path; - -/** - * @brief 加载被请求的tile,并以tile数据或加载tile失败error访问回调block;默认实现为首先用URLForTilePath去获取URL,然后用异步NSURLConnection加载tile - * @param path tile path - * @param result 用来传入tile数据或加载tile失败的error访问的回调block - */ -- (void)loadTileAtPath:(MATileOverlayPath)path result:(void (^)(NSData *tileData, NSError *error))result; - -/** - * @brief 取消请求瓦片,当地图显示区域发生变化时,会取消显示区域外的瓦片的下载, 当disableOffScreenTileLoading=YES时会被调用。since 5.3.0 - * @param path tile path - */ -- (void)cancelLoadOfTileAtPath:(MATileOverlayPath)path; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATileOverlayRenderer.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATileOverlayRenderer.h deleted file mode 100644 index 58a4f140..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATileOverlayRenderer.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// MATileOverlayRenderer.h -// MapKit_static -// -// Created by Li Fei on 11/25/13. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#if MA_INCLUDE_OVERLAY_TILE - -#import "MAOverlayRenderer.h" -#import "MATileOverlay.h" - -///此类是将MAOverlayRenderer中的覆盖tiles显示在地图上的Renderer -@interface MATileOverlayRenderer : MAOverlayRenderer - -///覆盖在球面墨卡托投影上的图片tiles的数据源 -@property (nonatomic ,readonly) MATileOverlay *tileOverlay; - -/** - * @brief 根据指定的tileOverlay生成将tiles显示在地图上的Renderer - * @param tileOverlay 制定了覆盖图片 - * @return 以tileOverlay新生成Renderer - */ -- (instancetype)initWithTileOverlay:(MATileOverlay *)tileOverlay; - -/** - * @brief 清除所有tile的缓存,并刷新overlay - */ -- (void)reloadData; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATouchPoi.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATouchPoi.h deleted file mode 100644 index eb7186ca..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATouchPoi.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// MATouchPoi.h -// MapKit_static -// -// Created by songjian on 13-7-17. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import - -///MATouchPoi 定义 -@interface MATouchPoi : NSObject - -///名称 -@property (nonatomic, copy, readonly) NSString *name; - -///经纬度坐标 -@property (nonatomic, assign, readonly) CLLocationCoordinate2D coordinate; - -///poi的ID -@property (nonatomic, copy, readonly) NSString *uid; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATraceLocation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATraceLocation.h deleted file mode 100644 index 1097a8de..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATraceLocation.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// MATraceLocation.h -// MAMapKit -// -// Created by shaobin on 16/9/1. -// Copyright © 2016年 Amap. All rights reserved. -// - - - -#import "MAConfig.h" - -#if MA_INCLUDE_TRACE_CORRECT - -#import -#import - -///返回轨迹点定义 -@interface MATracePoint : NSObject - -///纬度坐标 -@property (nonatomic, assign) CLLocationDegrees latitude; -///经度坐标 -@property (nonatomic, assign) CLLocationDegrees longitude; - -@end - -///传入轨迹点定义 -@interface MATraceLocation : NSObject - -///经纬度坐标 -@property (nonatomic, assign) CLLocationCoordinate2D loc; -///角度, 标识移动方向,单位度 -@property (nonatomic, assign) double angle; -///速度,单位km/h -@property (nonatomic, assign) double speed; -///时间,单位毫秒 -@property (nonatomic, assign) double time; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATraceManager.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATraceManager.h deleted file mode 100644 index e1a4e173..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MATraceManager.h +++ /dev/null @@ -1,115 +0,0 @@ -// -// MATraceManager.h -// MAMapKit -// -// Created by shaobin on 16/9/1. -// Copyright © 2016年 Amap. All rights reserved. -// - - - -#import "MAConfig.h" - -#if MA_INCLUDE_TRACE_CORRECT - -#import -#import -#import "MATraceLocation.h" - -@class MATraceManager; - -///处理中回调, index: 批次编号,0 based -typedef void(^MAProcessingCallback)(int index, NSArray *points); - -///成功回调,distance:距离,单位米 -typedef void(^MAFinishCallback)(NSArray *points, double distance); - -///失败回调 -typedef void(^MAFailedCallback)(int errorCode, NSString *errorDesc); - -///定位回调, locations: 原始定位点; tracePoints: 纠偏后的点,如果纠偏失败返回nil; distance:距离; error: 纠偏失败时的错误信息 -typedef void(^MATraceLocationCallback)(NSArray *locations, NSArray *tracePoints, double distance, NSError *error); - -/** - * @brief 轨迹定位的代理协议,since v6.2.0 -*/ -@protocol MATraceDelegate - -@required - -/** - * @brief 轨迹定位纠偏的回调方法,since v6.2.0 - * @param manager 轨迹定位管理对象 - * @param locations 已经完成纠偏的原始定位数据 - * @param tracePoints 已经完成纠偏处理后的轨迹点 - * @param distance 距离,单位米 - * @param error 如果成功的话为nil,否则为失败原因 - */ -- (void)traceManager:(MATraceManager *)manager - didTrace:(NSArray *)locations - correct:(NSArray *)tracePoints - distance:(double)distance - withError:(NSError *)error; - -@optional -/** - * @brief 当plist配置NSLocationAlwaysUsageDescription或者NSLocationAlwaysAndWhenInUseUsageDescription,并且[CLLocationManager authorizationStatus] == kCLAuthorizationStatusNotDetermined,会调用代理的此方法。 - 此方法实现调用后台权限API即可( 该回调必须实现 [locationManager requestAlwaysAuthorization] ); since 6.8.1 - * @param locationManager 地图的CLLocationManager。 - */ -- (void)mapViewRequireLocationAuth:(CLLocationManager *)locationManager; - -@end - -///轨迹纠偏管理类 -@interface MATraceManager : NSObject - -/** - * @brief 单例方法 - */ -+ (instancetype)sharedInstance; - -/** - * @brief 获取纠偏后的经纬度点集 - * @param locations 待纠偏处理的点集, 顺序即为传入的顺序 - * @param type loctions经纬度坐标的类型, 如果已经是高德坐标系,传 -1 - * @param processingCallback 如果一次传入点过多,内部会分批处理。每处理完一批就调用此回调 - * @param finishCallback 全部处理完毕调用此回调 - * @param failedCallback 失败调用此回调 - * @return 返回一个NSOperation对象,可调用cancel取消 - */ -- (NSOperation *)queryProcessedTraceWith:(NSArray*)locations - type:(AMapCoordinateType)type - processingCallback:(MAProcessingCallback)processingCallback - finishCallback:(MAFinishCallback)finishCallback - failedCallback:(MAFailedCallback)failedCallback; - -/** - * @brief 开始轨迹定位, 内部使用系统CLLocationManager,distanceFilter,desiredAccuracy均为系统默认值 - * @param locCallback 定位回调, 回调中返回坐标类型为AMapCoordinateTypeGPS - */ -- (void)startTraceWith:(MATraceLocationCallback)locCallback __attribute__((deprecated("use start instead"))); - -/** - * @brief 停止轨迹定位 - */ -- (void)stopTrace __attribute__((deprecated("use stop instead"))); - -/** - * @brief 轨迹定位的代理回调对象,配合start和stop方法使用,since v6.2.0 - */ -@property (nonatomic, weak) id delegate; - -/** - * @brief 开始轨迹定位, 内部使用系统CLLocationManager,distanceFilter,desiredAccuracy均为系统默认值,since v6.2.0 - */ -- (void)start; - -/** - * @brief 停止轨迹定位,since v6.2.0 - */ -- (void)stop; - -@end - -#endif diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAUserLocation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAUserLocation.h deleted file mode 100755 index 42a1f05c..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAUserLocation.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// MAUserLocation.h -// MAMapKit -// -// Created by yin cai on 12-1-4. -// Copyright © 2016 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import "MAAnimatedAnnotation.h" - -@class CLLocation; -@class CLHeading; - -///定位信息类 -@interface MAUserLocation : MAAnimatedAnnotation - -///位置更新状态,如果正在更新位置信息,则该值为YES -@property (readonly, nonatomic, getter = isUpdating) BOOL updating; - -///位置信息,如果MAMapView的showsUserLocation为NO,或者尚未定位成功,则该值为nil -@property (readonly, nonatomic, strong) CLLocation *location; - -///heading信息 -@property (readonly, nonatomic, strong) CLHeading *heading; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAUserLocationRepresentation.h b/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAUserLocationRepresentation.h deleted file mode 100644 index e9eb228d..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Headers/MAUserLocationRepresentation.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// MAUserLocationRepresentation.h -// MAMapKit -// -// Created by shaobin on 16/12/27. -// Copyright © 2016年 Amap. All rights reserved. -// - -#import "MAConfig.h" -#import -#import - -#define kAccuracyCircleDefaultColor [UIColor colorWithRed:136/255.0 green:166/255.0 blue:227/255.0 alpha:.3] - -///用户位置显示样式控制 -@interface MAUserLocationRepresentation : NSObject - -///精度圈是否显示,默认YES -@property (nonatomic, assign) BOOL showsAccuracyRing; -///是否显示方向指示(MAUserTrackingModeFollowWithHeading模式开启)。默认为YES -@property (nonatomic, assign) BOOL showsHeadingIndicator; -///精度圈 填充颜色, 默认 kAccuracyCircleDefaultColor -@property (nonatomic, strong) UIColor *fillColor; -///精度圈 边线颜色, 默认 kAccuracyCircleDefaultColor -@property (nonatomic, strong) UIColor *strokeColor; -///精度圈 边线宽度,默认0 -@property (nonatomic, assign) CGFloat lineWidth; - -///定位点背景色,不设置默认白色 -@property (nonatomic, strong) UIColor *locationDotBgColor; -///定位点蓝色圆点颜色,不设置默认蓝色 -@property (nonatomic, strong) UIColor *locationDotFillColor; -///内部蓝色圆点是否使用律动效果, 默认YES -@property (nonatomic, assign) BOOL enablePulseAnnimation; -///定位图标, 与蓝色原点互斥 -@property (nonatomic, strong) UIImage* image; - -@end diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/MAMapKit b/ios/UniMPSDK/Libs/MAMapKit.framework/MAMapKit deleted file mode 100644 index 5290ddcf..00000000 Binary files a/ios/UniMPSDK/Libs/MAMapKit.framework/MAMapKit and /dev/null differ diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/Modules/module.modulemap b/ios/UniMPSDK/Libs/MAMapKit.framework/Modules/module.modulemap deleted file mode 100644 index 05888e45..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module MAMapKit { - umbrella header "MAMapKit.h" - - export * - module * { export * } -} diff --git a/ios/UniMPSDK/Libs/MAMapKit.framework/version.txt b/ios/UniMPSDK/Libs/MAMapKit.framework/version.txt deleted file mode 100644 index 15e5c161..00000000 --- a/ios/UniMPSDK/Libs/MAMapKit.framework/version.txt +++ /dev/null @@ -1 +0,0 @@ -7.8.0+3dmap.df50d18d.1065 diff --git a/ios/UniMPSDK/Libs/libAMapLocationPlugin.a b/ios/UniMPSDK/Libs/libAMapLocationPlugin.a deleted file mode 100644 index 20f4e63f..00000000 Binary files a/ios/UniMPSDK/Libs/libAMapLocationPlugin.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/libDCUniAmap.a b/ios/UniMPSDK/Libs/libDCUniAmap.a deleted file mode 100644 index a3b3c1d2..00000000 Binary files a/ios/UniMPSDK/Libs/libDCUniAmap.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/libDCUniMap.a b/ios/UniMPSDK/Libs/libDCUniMap.a deleted file mode 100644 index fc3664e8..00000000 Binary files a/ios/UniMPSDK/Libs/libDCUniMap.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/libSDWebImage.a b/ios/UniMPSDK/Libs/libSDWebImage.a deleted file mode 100644 index 487ee2bd..00000000 Binary files a/ios/UniMPSDK/Libs/libSDWebImage.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/libWeChatSDK.a b/ios/UniMPSDK/Libs/libWeChatSDK.a deleted file mode 100644 index e602f120..00000000 Binary files a/ios/UniMPSDK/Libs/libWeChatSDK.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/libcoreSupport.a b/ios/UniMPSDK/Libs/libcoreSupport.a deleted file mode 100644 index bc380579..00000000 Binary files a/ios/UniMPSDK/Libs/libcoreSupport.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibGeolocation.a b/ios/UniMPSDK/Libs/liblibGeolocation.a deleted file mode 100644 index 6c9a44f6..00000000 Binary files a/ios/UniMPSDK/Libs/liblibGeolocation.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibIO.a b/ios/UniMPSDK/Libs/liblibIO.a deleted file mode 100644 index d227d64d..00000000 Binary files a/ios/UniMPSDK/Libs/liblibIO.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibNativeObj.a b/ios/UniMPSDK/Libs/liblibNativeObj.a deleted file mode 100644 index 3bf0fccf..00000000 Binary files a/ios/UniMPSDK/Libs/liblibNativeObj.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibNativeUI.a b/ios/UniMPSDK/Libs/liblibNativeUI.a deleted file mode 100644 index fafbbcd1..00000000 Binary files a/ios/UniMPSDK/Libs/liblibNativeUI.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibNavigator.a b/ios/UniMPSDK/Libs/liblibNavigator.a deleted file mode 100644 index c61f7d52..00000000 Binary files a/ios/UniMPSDK/Libs/liblibNavigator.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibPDRCore.a b/ios/UniMPSDK/Libs/liblibPDRCore.a deleted file mode 100644 index 12382f55..00000000 Binary files a/ios/UniMPSDK/Libs/liblibPDRCore.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibPGInvocation.a b/ios/UniMPSDK/Libs/liblibPGInvocation.a deleted file mode 100644 index f1a959d2..00000000 Binary files a/ios/UniMPSDK/Libs/liblibPGInvocation.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibPayment.a b/ios/UniMPSDK/Libs/liblibPayment.a deleted file mode 100644 index 7bd68203..00000000 Binary files a/ios/UniMPSDK/Libs/liblibPayment.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibStorage.a b/ios/UniMPSDK/Libs/liblibStorage.a deleted file mode 100644 index 5c88a39e..00000000 Binary files a/ios/UniMPSDK/Libs/liblibStorage.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibUI.a b/ios/UniMPSDK/Libs/liblibUI.a deleted file mode 100644 index 4b952b15..00000000 Binary files a/ios/UniMPSDK/Libs/liblibUI.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/liblibWeex.a b/ios/UniMPSDK/Libs/liblibWeex.a deleted file mode 100644 index b49a550e..00000000 Binary files a/ios/UniMPSDK/Libs/liblibWeex.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/libwxpay.a b/ios/UniMPSDK/Libs/libwxpay.a deleted file mode 100644 index 4d5d72a3..00000000 Binary files a/ios/UniMPSDK/Libs/libwxpay.a and /dev/null differ diff --git a/ios/UniMPSDK/Libs/storage.framework/Headers/StorageManager.h b/ios/UniMPSDK/Libs/storage.framework/Headers/StorageManager.h deleted file mode 100644 index c4c863ac..00000000 --- a/ios/UniMPSDK/Libs/storage.framework/Headers/StorageManager.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// StorageManager.h -// storage -// -// Created by DCloud on 2018/6/13. -// Copyright © 2018年 DCloud. All rights reserved. -// - -#import - -typedef void (^StorageManagerCallback)(id result); - -@class Storage; -@interface StorageManager : NSObject -+ (Storage*)currentStorage; -+ (Storage*)activeStorageWithDomain:(NSString*)domain; -+ (void)serializeStorageWithDomain:(NSString*)domain; -+ (Storage*)storageWithDomain:(NSString*)domain; -@end - -@interface Storage : NSObject -@property(nonatomic, strong)NSString* domain; -@property(nonatomic, strong)NSString* rootPath; -- (NSUInteger)length; - -- (NSArray*)getAllKeys; - -- (void)setItem:(NSString *)key value:(NSString *)value callback:(StorageManagerCallback)callback; - -- (void)setItemPersistent:(NSString *)key value:(NSString *)value callback:(StorageManagerCallback)callback; - -- (NSString*)getItem:(NSString *)key callback:(StorageManagerCallback)callback; - -- (void)removeItem:(NSString *)key callback:(StorageManagerCallback)callback; -- (void)clear; -@end - diff --git a/ios/UniMPSDK/Libs/storage.framework/Headers/storage.h b/ios/UniMPSDK/Libs/storage.framework/Headers/storage.h deleted file mode 100644 index d7b8f8a4..00000000 --- a/ios/UniMPSDK/Libs/storage.framework/Headers/storage.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// storage.h -// storage -// -// Created by DCloud on 2018/6/13. -// Copyright © 2018年 DCloud. All rights reserved. -// - -#import - -//! Project version number for storage. -FOUNDATION_EXPORT double storageVersionNumber; - -//! Project version string for storage. -FOUNDATION_EXPORT const unsigned char storageVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - -#import diff --git a/ios/UniMPSDK/Libs/storage.framework/Info.plist b/ios/UniMPSDK/Libs/storage.framework/Info.plist deleted file mode 100644 index 01ae4bea..00000000 Binary files a/ios/UniMPSDK/Libs/storage.framework/Info.plist and /dev/null differ diff --git a/ios/UniMPSDK/Libs/storage.framework/Modules/module.modulemap b/ios/UniMPSDK/Libs/storage.framework/Modules/module.modulemap deleted file mode 100644 index 858a5dae..00000000 --- a/ios/UniMPSDK/Libs/storage.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module storage { - umbrella header "storage.h" - - export * - module * { export * } -} diff --git a/ios/UniMPSDK/Libs/storage.framework/storage b/ios/UniMPSDK/Libs/storage.framework/storage deleted file mode 100644 index 2255ac64..00000000 Binary files a/ios/UniMPSDK/Libs/storage.framework/storage and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/all.js b/ios/UniMPSDK/Resources/PandoraApi.bundle/all.js deleted file mode 100644 index 4b9ac84a..00000000 --- a/ios/UniMPSDK/Resources/PandoraApi.bundle/all.js +++ /dev/null @@ -1 +0,0 @@ -var plusType;function __adsfsdaf99dsafsd090dsfsd__(){var t,n=["log","logLevel","unshift","slice","ERROR","toString","addEventListener","__message__","warn","error","INFO","plusready","assert","LOG","Timer [","valueOf","join","bridge","console","message","apply","clear","stringify","time","timeEnd","length","format","tools","concat","exec","error JSON.stringify()ing argument: ","WARN","call","prototype","plus","push","shift","level","info"];t=n,function(e){for(;--e;)t.push(t.shift())}(448);function l(e,t){return n[e=+e]}!function(e){var u=l;function n(e,t){var n=u;t=[e][n("0xa")]([].slice[n("0xe")](t)),logger[n("0x16")][n("0x2")](logger,t)}function i(e,t){var n=u;if(null==e)return[""];if(1==arguments[n("0x7")])return[e[n("0x1a")]()];"string"!=typeof e&&(e=e[n("0x1a")]());for(var i=/(.*?)%(.)(.*)/,o=e,r=[];t[n("0x7")];){var s=i[n("0xb")](o);if(!s)break;var a=t[n("0x12")](),o=s[3];r[n("0x11")](s[1]),"%"!=s[2]?r.push(function(e,t){var n=u;try{switch(t){case"j":case"o":return JSON[n("0x4")](e);case"c":return""}}catch(e){return n("0xc")+e}return null==e?Object[n("0xf")][n("0x1a")][n("0xe")](e):e[n("0x1a")]()}(a,s[2])):(r.push("%"),t[n("0x17")](a))}r[n("0x11")](o);var c=[][n("0x18")][n("0xe")](t);return c[n("0x17")](r[n("0x25")]("")),c}window[u("0x10")][u("0x9")],B=window[u("0x10")][u("0x26")],_LOGF="Console",winConsole=window.console,Timers={},logger={};var o=winConsole[u("0x15")];logger[u("0x15")]=function(e){var t=u;o.apply(winConsole,arguments),n(t("0x22"),arguments)};var r=winConsole[u("0x14")];logger[u("0x14")]=function(e){var t=u;r[t("0x2")](winConsole,arguments),n(t("0x1f"),arguments)};var s=winConsole[u("0x1d")];logger.warn=function(e){var t=u;s.apply(winConsole,arguments),n(t("0xd"),arguments)};var a=winConsole[u("0x1e")];logger[u("0x1e")]=function(e){var t=u;a[t("0x2")](winConsole,arguments),n(t("0x19"),arguments)};var c=winConsole[u("0x21")];logger[u("0x21")]=function(e){var t=u;if(!e){var n=vformat([][t("0x18")].call(arguments,1));throw logger[t("0x15")]("ASSERT:"+n),c[t("0x2")](winConsole,arguments),new Error(n)}},logger[u("0x3")]=function(){var e=u;B[e("0xb")](_LOGF,e("0x3"),0)},logger[u("0x5")]=function(e){var t=u;Timers[e]=(new Date)[t("0x24")]()},logger[u("0x6")]=function(e){var t=u,n=Timers[e];n&&(n=(new Date)[t("0x24")]()-n,logger.log(t("0x23")+e+": "+n+"ms]"))},logger[u("0x16")]=function(e){var t=u,n=[][t("0x18")][t("0xe")](arguments,1),n=logger.format[t("0x2")](logger[t("0x8")],n);B[t("0xb")](_LOGF,"logLevel",[e,n])},logger[u("0x8")]=function(e,t){var n=u;return i(e,[][n("0x18")].call(arguments,1))[n("0x25")](" ")},e[u("0x0")]=logger,window[u("0x0")][u("0x15")]=logger[u("0x15")],window[u("0x0")].info=logger[u("0x14")],window[u("0x0")][u("0x1e")]=logger[u("0x1e")],window[u("0x0")][u("0x1d")]=logger.warn,document[u("0x1b")](u("0x20"),function(){var e=u,t=window[e("0x1c")];if(t)for(var n=0;nthis.length?this.position=this.length:this.position=e)},t.truncate=function(e){if(this.readyState===y.WRITING)throw new u(u.INVALID_STATE_ERR);this.readyState=y.WRITING;var t=this;"function"==typeof t.onwritestart&&t.onwritestart(new i("writestart",{target:this})),c.exec(function(e){t.readyState!==y.DONE&&(t.readyState=y.DONE,t.length=e,t.position=Math.min(t.position,e),"function"==typeof t.onwrite&&t.onwrite(new i("write",{target:t})),"function"==typeof t.onwriteend&&t.onwriteend(new i("writeend",{target:t})))},function(e){t.readyState!==y.DONE&&(t.readyState=y.DONE,t.error=new u(e),"function"==typeof t.onerror&&t.onerror(new i("error",{target:t})),"function"==typeof t.onwriteend&&t.onwriteend(new i("writeend",{target:t})))},"truncate",[this.fileName,e,this.position])},e.io={FileSystem:v,DirectoryEntry:d,DirectoryReader:h,FileReader:p,FileWriter:y,requestFileSystem:function(t,n,i){function o(e){"function"==typeof i&&i(new u(e))}var r,e;t<1||4=this.southwest.longitude&&e.latitude<=this.northease.latitude&&e.latitude>=this.southwest.latitude)},g.prototype.equals=function(e){return e instanceof g&&(this.northease.equals(e.northease)&&this.southwest.equals(e.southwest))},g.prototype.getCenter=function(){var e=(this.northease.longitude-this.southwest.longitude)/2,t=(this.northease.latitude-this.southwest.latitude)/2;return new w(e+this.southwest.longitude,t+this.southwest.latitude)},(t=w.prototype).setLng=function(e){this.longitude=e},t.getLng=function(){return this.longitude},t.setLat=function(e){this.latitude=e},t.getLat=function(){return this.latitude},t.equals=function(e){return this.longitude==e.longitude&&this.latitude==e.latitude},(t=n.prototype).show=function(){1!=this.visable&&(this.visable=!0,p(this._UUID_,"show",["true"]))},t.hide=function(){0!=this.visable&&(this.visable=!1,p(this._UUID_,"hide",["false"]))},t.isVisible=function(){return this.visable},t.bringToTop=function(){p(this._UUID_,"bringToTop",[])},(t=b.prototype=new n).constructor=b,t.setPoint=function(e){e instanceof w&&(e=[this.point=e],p(this._UUID_,"setPoint",e))},t.getPoint=function(){return this.point},t.setIcon=function(e){"string"==typeof e&&(this.icon=e,p(this._UUID_,"setIcon",[e]))},t.setLabel=function(e){"string"==typeof e&&(this.caption=e,p(this._UUID_,"setLabel",[e]))},t.getLabel=function(){return this.caption},t.setBubble=function(e,t){var n,i;e instanceof v?((n=e.marker)&&n!=this&&(i=[n.bubble=null,null,null,null,!1],p(n._UUID_,"setBubble",i)),(e.marker=this).bubble=e,i=[this.bubble.label,this.bubble.icon,this.bubble.__contentImageAsDataURL,this.bubble.__contentImage,t],p(this._UUID_,"setBubble",i)):null==e&&p(this._UUID_,"setBubble",[null,null,null,null,t])},t.hideBubble=function(){this.bubble&&p(this._UUID_,"hideBubble",[])},t.getBubble=function(){return this.bubble},t.setDraggable=function(e){e!=this.canDraggable&&(this.canDraggable=!this.canDraggable,p(this._UUID_,"setDraggable",[this.canDraggable]))},t.isDraggable=function(){return this.canDraggable},t.setIcons=function(e,t){p(this._UUID_,"setIcons",[e,t])},(t=m.prototype=new n).constructor=m,t.setStrokeColor=function(e){"string"==typeof e&&(this.strokeColor=e,p(this._UUID_,"setStrokeColor",[e]))},t.getStrokeColor=function(){return this.strokeColor},t.setStrokeOpacity=function(e){"number"==typeof e&&(e<0?e=0:1this.options.minDistance&&(this.direction=1.73*nthis.options.minDistance&&(this.isPull=!0,this.options.onPullStart(e,this.distanceY))),this.isPull&&this.direction===o.DOWN&&(this.distanceY=t.pageY-this.startY,this.refreshY=parseInt(this.distanceY*this.options.pullRatio),this.options.onMove(e,this.distanceY)))},__end:function(e){!this.hasTouch||o.LEFT_RIGHT!==this.direction&&o.DOWN!==this.direction||(this.direction===o.LEFT_RIGHT&&(e.preventDefault(),e.stopPropagation(),this.options.onPullEnd(e,this.distanceX,o.LEFT_RIGHT)),this.direction===o.DOWN&&this.isPull&&(e.preventDefault(),e.stopPropagation(),this.options.onPullEnd(e,this.distanceY,o.DOWN))),this.hasTouch=!1,this.isPull=!1}},{init:function(e){return new r(e)},DIRECTION:o});function r(e){"string"==typeof e.con&&(e.con=t.querySelector(e.con)),this.options=Object.assign({},i,e),this.hasTouch=!1,this.direction=o.NONE,this.distanceX=this.startY=this.startX=0,this.isPull=!1,this.initEvent()}var w,F={drawArrow:w=function(e,t,n,i,o,r,s,a,c,u){"string"==typeof t&&(t=parseFloat(t)),"string"==typeof n&&(n=parseFloat(n)),"string"==typeof i&&(i=parseFloat(i)),"string"==typeof o&&(o=parseFloat(o)),r=void 0!==r?r:3,s=void 0!==s?s:1,a=void 0!==a?a:Math.PI/8,c=void 0!==c?c:10;var l,_,f="function"!=typeof r?b:r,d=Math.sqrt((i-t)*(i-t)+(o-n)*(o-n)),h=(d-c/3)/d,d=1&s?(l=Math.round(t+(i-t)*h),Math.round(n+(o-n)*h)):(l=i,o),h=2&s?(_=t+(i-t)*(1-h),n+(o-n)*(1-h)):(_=t,n);e.beginPath(),e.moveTo(_,h),e.lineTo(l,d),e.stroke();var p,y,v,g,d=Math.atan2(o-n,i-t),c=Math.abs(c/Math.cos(a));1&s&&(p=d+Math.PI+a,y=i+Math.cos(p)*c,v=o+Math.sin(p)*c,g=d+Math.PI-a,f(e,y,v,i,o,i+Math.cos(g)*c,o+Math.sin(g)*c,r,u)),2&s&&(p=d+a,g=d-a,f(e,y=t+Math.cos(p)*c,v=n+Math.sin(p)*c,t,n,t+Math.cos(g)*c,n+Math.sin(g)*c,r,u))},drawArcedArrow:function(e,t,n,i,o,r,s,a,c,u,l,_,f,d){var h,p,y,v,g;a=void 0!==a?a:3,c=void 0!==c?c:1,u=void 0!==u?u:Math.PI/8,l=void 0!==l?l:10,_=void 0!==_?_:1,e.save(),e.beginPath(),e.globalAlpha=1,e.restore(),e.lineWidth=_,e.beginPath(),e.arc(t,n,i,o,r,s),e.stroke(),1&c&&(h=Math.cos(o)*i+t,p=Math.sin(o)*i+n,y=Math.atan2(t-h,p-n),g=s?(v=h+10*Math.cos(y),p+10*Math.sin(y)):(v=h-10*Math.cos(y),p-10*Math.sin(y)),w(e,h,p,v,g,a,2,u,l,d)),2&c&&(h=Math.cos(r)*i+t,p=Math.sin(r)*i+n,y=Math.atan2(t-h,p-n),g=s?(v=h-10*Math.cos(y),p-10*Math.sin(y)):(v=h+10*Math.cos(y),p+10*Math.sin(y)),w(e,h-f*Math.sin(r),p+f*Math.cos(r),v-f*Math.sin(r),g+f*Math.cos(r),a,2,u,l,d)),e.restore()}};function b(e,t,n,i,o,r,s,a,c){switch("string"==typeof t&&(t=parseFloat(t)),"string"==typeof n&&(n=parseFloat(n)),"string"==typeof i&&(i=parseFloat(i)),"string"==typeof o&&(o=parseFloat(o)),"string"==typeof r&&(r=parseFloat(r)),"string"==typeof s&&(s=parseFloat(s)),Math.PI,e.save(),a){case 0:var u=Math.sqrt((r-t)*(r-t)+(s-n)*(s-n));e.arcTo(i,o,t,n,.55*u),e.fill();break;case 1:.5=this.minRefreshDistance&&(this.shouldRefresh=!0),this.shouldRefresh},pullTipExist:function(){return this.$pullTip},reset:function(){var e=this.isRefreshing;this.isRefreshing=!1,this.shouldRefresh=!1,this.removePullTip(e)},canvasObj:(c=s=a=null,u=!1,_=l=100,f=50,d=!(r=15),(h=["green"])[0],p=1,y={startAngle:0,speed:5,color:h[0],counterClockwise:!1,globalCompositeOperation:"source-out",lineWidth:r},v={startAngle:0,speed:5,color:"white",counterClockwise:!1,globalCompositeOperation:"destination-out",lineWidth:r+40},b=y,m="draw",I=50,S=x=w=g=0,{init:function(e,t){this.reset(),S=0,d=!1,s=e.querySelector("canvas"),c=s.getContext?s.getContext("2d"):s,u=!s.getContext,w=g=0,y.startAngle=v.startAngle=0,x=R(g),p=1,h=[t.options.color],y.color=h[p],m="draw",b=y,a=t,u?l=_=f=(40-2*9)/2:(l=_=100,f=50)},reset:function(){c=s=null},drawArrowedArcByDis:function(e){O(e)},drawArc:function(e){C?console.log("not support"):A()},clearCurrent:function(){var e,n,i,o,t;C?console.log("not support"):(t=a.$pullTip.ownerDocument.defaultView.getComputedStyle(a.$pullTip,null),(t=(e=t.transform,t=0,e&&(t=(e=(e=e.replace("matrix(","").replace(")","")).replace(/\s+/gi,"")).split(",")[5]||0),t))
'.replace(/\{WIDTH\}/g,40*this.options.ratio+"px").replace(/\{SHADOWOFFSETY\}/g,2*this.options.ratio).replace(/\{SHADOWBLUR\}/g,5*this.options.ratio),this.$pullTip=document.body.appendChild(t.firstElementChild),n=this.$pullTip,this.$pullTipInner=n.querySelector("div"),t=n.offsetHeight,E=25*this.options.ratio,this.minRefreshDistance=70*this.options.ratio,(n=n).querySelector("canvas"),n.style.top=this.options.offset-t+"px",n.style.webkitTransition="none",n.style.webkitTransform="translate3d(0,0,0)",this.initCanvas())},movePullTip:function(e,t,n){var i;this.pullTipExist()&&(i=Math.min(this.options.range+20*this.options.ratio,e),this.$pullTip.style.webkitTransition=t||"none",t=50*this.options.ratio,i=Math.max(0,i-t),this.$pullTip.style.webkitTransform="translate3d(0,"+i+"px,0)",this.$pullTip.style.height=Math.min(e,t)+"px",this.$pullTipInner.style.webkitTransform="translateY("+Math.min(0,Math.max(-t,e-t))+"px)",0===e?this.canvasObj.clearCurrent():E=40*this.options.ratio&&this.canvasObj.rotate(e),this.canvasObj.drawArrowedArcByDis(e-E),this.canvasObj.changeOpacity(e-E))))},changePullTip:function(e,t){this.pullTipExist()},removePullTip:function(e){this.pullTipExist()&&(e?(this.canvasObj.stopAuto(),this.$pullTip.style.webkitTransition="all 100ms linear",this.$pullTip.style.opacity=.1,this.$pullTip.style.webkitTransform+=" scale(0.1)"):(this.$pullTip.removeEventListener("webkitTransitionEnd",this.onTransitionEnd,!1),this.$pullTip.remove(),this.$pullTip=null))}},{init:function(e){return new t(e)}}}(),y=/complete|loaded|interactive/,v=!1;window.__setPullToRefresh__=function(i,o){var e;e=function(){return!i.support&&s?(s.reset(),s.touchPull.detachEvent(),void(v=!0)):void(i.support&&(980===(n=window.innerWidth)&&(n=window.plus&&plus.screen.resolutionWidth||window.screen.width),e=n/(window.plus&&plus.screen.resolutionWidth||window.screen.width),t=parseInt(i.offset),n=parseInt(i.range)||128,useCapture=!1!==i.useCapture,n=n*e+(t*=e),s?(s.options.useCapture=useCapture,v&&s.touchPull.initEvent(),i.offset&&(s.options.offset=t),i.range&&(s.options.range=n),i.color&&(s.options.color=i.color),s.options.doRefresh=o):s=a.init({offset:t,range:n,ratio:e,useCapture:useCapture,color:i.color||"green",doRefresh:o})));var e,t,n},y.test(document.readyState)?e():document.addEventListener("DOMContentLoaded",function(){e()},!1)},window.__endPullToRefresh__=function(){s&&s.reset()},window.__beginPullToRefresh__=function(){s&&s.beginPullToRefresh()}}(),__Mkey__Push__=function(){var i=[];return{pushCallback_Push:function(e,t,n){i[e]={fun:t,nokeep:n}},execCallback_Push:function(e,t,n){i[e]&&i[e].fun&&i[e].fun(n)}}}(),function(i){var i=i,o=window.plus.bridge,r=window.plus.tools,s="Push";function a(e,t,n){this.__UUID__=null,this.message=e,this.Payload=t,this.options=n}i.push={getClientInfo:function(){return o.execSync2(s,"getClientInfo",[])},getClientInfoAsync:function(t,n){var e=o.callbackId(function(e){"function"==typeof t&&t(e)},function(e){"function"==typeof n&&n(e)});o.exec(s,"getClientInfoAsync",[e])},createMessage:function(e,t,n){r.platform==r.IOS?o.exec(s,"createMessage",[e,t,n]):(n&&n.icon&&(n.icon=i.io.convertLocalFileSystemURL(n.icon)),e=new a(e,t,n),n=o.execSync(s,"createMessage",[e]),e.__UUID__=n)},clear:function(){o.exec(s,"clear",[])},addEventListener:function(e,t,n){var i=r.UUID(e);__Mkey__Push__.pushCallback_Push(i,t,n),o.exec(s,"addEventListener",[window.__HtMl_Id__,i,e])},remove:function(e){o.exec(s,"remove",[e.__UUID__])},getAllMessage:function(){return o.execSync(s,"getAllMessage",[])},setAutoNotification:function(e){o.exec(s,"setAutoNotification",[e])}}}(window.plus),function(e){var e=e,a=window.plus.bridge,c="Runtime";e.runtime={arguments:null,version:null,innerVersion:null,uniVersion:"",launchLoadedTime:null,launcher:null,origin:null,processId:null,startupTime:null,isRecovery:!1,restart:function(){a.exec(c,"restart",[])},install:function(e,t,n,i){i=a.callbackId(n,i);a.exec(c,"install",[e,i,t])},getProperty:function(e,t){t=a.callbackId(t);a.exec(c,"getProperty",[e,t])},quit:function(){a.exec(c,"quit",[])},openURL:function(e,t,n){var i=a.callbackId(null,function(e){"function"==typeof t&&t(e)});a.exec(c,"openURL",[e,i,n])},launchApplication:function(e,t){var n=a.callbackId(null,function(e){"function"==typeof t&&t(e)});a.exec(c,"launchApplication",[e,n])},setBadgeNumber:function(e,t){"number"==typeof e&&a.exec(c,"setBadgeNumber",[e,t])},openFile:function(e,t,n){var i=a.callbackId(null,function(e){"function"==typeof n&&n(e)});a.exec(c,"openFile",[e,t,i])},openDocument:function(e,t,n,i){var o=a.callbackId(function(e){"function"==typeof n&&n(e)},function(e){"function"==typeof i&&i(e)});a.exec(c,"openDocument",[e,t,o])},isStreamValid:function(){return a.execSync(c,"isStreamValid")},openWeb:function(e){return a.exec(c,"openWeb",[e])},isApplicationExist:function(e){return null!=e&&"string"!=typeof e&&a.execSync(c,"isApplicationExist",[e])},processDirectPage:function(){return a.execSync(c,"processDirectPage",[])},isCustomLaunchPath:function(){return a.execSync(c,"isCustomLaunchPath")},getDCloudId:function(){return a.execSync(c,"getDCloudId")},agreePrivacy:function(){a.exec(c,"agreePrivacy",[])},disagreePrivacy:function(){a.exec(c,"disagreePrivacy",[])},isAgreePrivacy:function(){return a.execSync(c,"isAgreePrivacy",[])},downloadFile:function(o,r,s){var e;if("string"==typeof o.url)10r.Uninitialized&&("function"==typeof this.onabort&&this.onabort(this.__progessEvent__),this.__init__(),o.exec(r.__F__,"abort",[this.__UUID__]))},s.getAllResponseHeaders=function(){if(this.readyState>=r.Receiving){if(this.__noParseResponseHeader__)return this.__noParseResponseHeader__;var e,t="";for(e in this.__responseHeaders__)t=t+e+": "+this.__responseHeaders__[e]+"\r\n";return this.__noParseResponseHeader__=t,this.__noParseResponseHeader__}return null},s.getResponseHeader=function(e){if("string"==typeof e&&this.readyState>=r.Receiving){var t=null;if(e=e.toLowerCase(),t=this.__cacheReponseHeaders__[e])return t;for(n in this.__responseHeaders__){var n,i=this.__responseHeaders__[n];e===(n=n.toLowerCase())&&(t=t?t+", "+i:i)}return this.__cacheReponseHeaders__[e]=t}return null},s.setRequestHeader=function(e,t){var n;"string"==typeof e&&"string"==typeof t&&r.Open==this.readyState&&(n=this.__requestHeaders__[e],this.__requestHeaders__[e]=n?n+", "+t:t)},s.open=function(e,t,n,i){r.Open!=this.readyState&&r.Loaded!=this.readyState||this.__init__(),r.Uninitialized==this.readyState&&(this.readyState=r.Open,o.exec(r.__F__,"open",[this.__UUID__,e,"string"==typeof(t=t)?0==(t=t.replace(/(^\s*)|(\s*$)/g,"")).indexOf("http://")||0==t.indexOf("https://")?t:t=0==t.indexOf("/")?location.origin+t:location.origin+location.pathname+t:"",n,i,this.timeout]),"function"==typeof this.onreadystatechange&&this.onreadystatechange())},s.overrideMimeType=function(e){o.exec(r.__F__,"overrideMimeType",[this.__UUID__,e])},s.send=function(e){var n=this;if(r.Open!=this.readyState)throw new Error("XMLHttpRequest not open");this.readyState=r.Sent,"function"==typeof this.onloadstart&&this.onloadstart(n.__progessEvent__);var t=o.callbackId(function(e){if(r.Receiving==e.readyState)r.Sent==n.readyState?(n.readyState=r.Receiving,n.status=e.status,n.statusText=e.statusText,n.__responseHeaders__=e.header,n.__progessEvent__.lengthComputable=e.lengthComputable,n.__progessEvent__.total=e.totalSize):r.Receiving==n.readyState&&(n.responseText=e.responseText,n.__progessEvent__.loaded=e.revSize),"function"==typeof n.onreadystatechange&&n.onreadystatechange(),"function"==typeof n.onprogress&&n.onprogress(n.__progessEvent__);else if(r.Loaded==e.readyState){n.readyState=r.Loaded,e.status&&(n.status=e.status);try{n.responseText&&(t=new DOMParser,n.responseXML=t.parseFromString(n.responseText,"text/xml"))}catch(e){n.responseXML=null}try{var t;"document"==n.responseType?(t=new DOMParser,n.response=n.responseXML):"json"==n.responseType&&(n.response=JSON.parse(n.responseText))}catch(e){n.response=null}"function"==typeof n.onreadystatechange&&n.onreadystatechange(),e.error==i.Timeout?"function"==typeof n.ontimeout&&n.ontimeout(n.__progessEvent__):e.error==i.Other?"function"==typeof n.onerror&&n.onerror(n.__progessEvent__):"function"==typeof n.onload&&n.onload(n.__progessEvent__),"function"==typeof n.onloadend&&n.onloadend(n.__progessEvent__)}});return o.exec(r.__F__,"send",[this.__UUID__,t,e,this.__requestHeaders__]),void("function"==typeof this.onreadystatechange&&this.onreadystatechange())},e.net={XMLHttpRequest:r}}(window.plus),function(e){var e=e,o=window.plus.bridge,r="Zip";e.zip={compressVideo:function(e,t,n){n=o.callbackId(function(e){t&&(e={tempFilePath:e.tempFilePath,size:e.size},t(e))},n);o.exec(r,"compressVideo",[e,n])},decompress:function(e,t,n,i){i=o.callbackId(n,i);o.exec(r,"decompress",[e,t,i])},compress:function(e,t,n,i){i=o.callbackId(n,i);o.exec(r,"compress",[e,t,i])},compressImage:function(e,t,n){n=o.callbackId(function(e){t&&(e={target:e.path,width:e.w,height:e.h,size:e.size},t(e))},n);o.exec(r,"compressImage",[e,n])}}}(window.plus),function(i){var r=(i=i).bridge,s="ShortVideo",o=i.tools;function a(e){return o.getElementOffsetXInWebview(e)}function c(e){return o.getElementOffsetYInWebview(e)}function e(e,t){this.id=o.UUID("dt"),this.IDENTITY=s,div=document.getElementById(e);var n=this.id,e=[];div&&(i.tools.platform==i.tools.ANDROID?document.addEventListener("plusorientationchange",function(){setTimeout(function(){var e=[a(div),c(div),div.offsetWidth,div.offsetHeight];r.exec(s,"resize",[n,e])},200)},!1):div.addEventListener("resize",function(){var e=[a(div),c(div),div.offsetWidth,div.offsetHeight];r.exec(s,"resize",[n,e])},!1),e=[a(div),c(div),div.offsetWidth,div.offsetHeight]),r.exec(s,"ShortVideo",[this.id,e,t])}var t=e.prototype;function n(e,t){this.id=o.UUID("dt"),this.IDENTITY=s,div=document.getElementById(e);var e=[],n=this.id;div&&(i.tools.platform==i.tools.ANDROID?document.addEventListener("plusorientationchange",function(){setTimeout(function(){var e=[a(div),c(div),div.offsetWidth,div.offsetHeight];r.exec(s,"shortVideoEditor_resize",[n,e])},200)},!1):div.addEventListener("resize",function(){var e=[a(div),c(div),div.offsetWidth,div.offsetHeight];r.exec(s,"shortVideoEditor_resize",[n,e])},!1),e=[a(div),c(div),div.offsetWidth,div.offsetHeight]),r.exec(s,"ShortVideoEditor",[this.id,e,t])}t.start=function(e){r.exec(s,"ShortVideo_start",[this.id,e])},t.pause=function(){r.exec(s,"ShortVideo_pause",[this.id])},t.resume=function(){r.exec(s,"ShortVideo_resume",[this.id])},t.stop=function(){r.exec(s,"ShortVideo_stop",[this.id])},t.close=function(){r.exec(s,"ShortVideo_close",[this.id])},t.switchCamera=function(e){r.exec(s,"ShortVideo_switchCamera",[this.id,e])},t.setStyles=function(e){r.exec(s,"ShortVideo_setStyles",[this.id,e])},t.startMixAudio=function(e){r.exec(s,"ShortVideo_startMixAudio",[this.id,e])},t.pauseMixAudio=function(){r.exec(s,"ShortVideo_pauseMixAudio",[this.id])},t.resumeMixAudio=function(){r.exec(s,"ShortVideo_resumeMixAudio",[this.id])},t.stopMixAudio=function(){r.exec(s,"ShortVideo_stopMixAudio",[this.id])},t.addEventListener=function(e,t){var n,i=this;t&&(n=function(e){"function"==typeof t&&(e.target=i,t(e))},t.callback=n,n=r.callbackId(n)),r.exec(s,"ShortVideo_addEventListener",[this.id,e,n])},(t=n.prototype).play=function(){r.exec(s,"shortVideoEditor_play",[this.id])},t.pause=function(){r.exec(s,"shortVideoEditor_pause",[this.id])},t.resume=function(){r.exec(s,"shortVideoEditor_resume",[this.id])},t.stop=function(){r.exec(s,"shortVideoEditor_stop",[this.id])},t.close=function(){r.exec(s,"shortVideoEditor_close",[this.id])},t.setStyles=function(e){r.exec(s,"shortVideoEditor_setStyles",[this.id,e])},t.save=function(e,t,n){var i="function"!=typeof t?null:function(e){t(e)},o="function"!=typeof n?null:function(e){n(e)},o=r.callbackId(i,o);r.exec(s,"shortVideoEditor_save",[this.id,e,o])},t.addEventListener=function(e,t){var n,i=this;t&&(n=function(e){"function"==typeof t&&(e.target=i,t(e))},t.callback=n,n=r.callbackId(n)),r.exec(s,"shortVideoEditor_addEventListener",[this.id,e,n])},t={Camera:e,Editor:n,upload:function(e,t,n){var i="function"!=typeof t?null:function(e){t(e)},o="function"!=typeof n?null:function(e){n(e)},o=r.callbackId(i,o);r.exec(s,"uploader",[e,o])}},i.shortvideo=t}(window.plus),function(e){var o="iBeacon",r=e.bridge,t={startBeaconDiscovery:function(t){if("object"==typeof t){var n="function"!=typeof t.complete?function(){}:t.complete,e="function"!=typeof t.success?n:function(e){t.success(e),n(e)},i="function"!=typeof t.fail?n:function(e){t.fail(e),n(e)};return callbackID=r.callbackId(e,i),r.exec(o,"startBeaconDiscovery",[callbackID,t.uuids])}},stopBeaconDiscovery:function(t){var n="function"!=typeof t.complete?function(){}:t.complete,e="function"!=typeof t.success?n:function(e){t.success(e),n(e)},i="function"!=typeof t.fail?n:function(e){t.fail(e),n(e)};return callbackID=r.callbackId(e,i),r.exec(o,"stopBeaconDiscovery",[callbackID])},getBeacons:function(t){var n="function"!=typeof t.complete?function(){}:t.complete,e="function"!=typeof t.success?n:function(e){t.success(e),n(e)},i="function"!=typeof t.fail?n:function(e){t.fail(e),n(e)};return callbackID=r.callbackId(e,i),r.exec(o,"getBeacons",[callbackID])},onBeaconUpdate:function(e){e="function"!=typeof e?null:e;return callbackID=r.callbackId(e),r.exec(o,"onBeaconUpdate",[callbackID])},onBeaconServiceChange:function(e){e="function"!=typeof e?null:e;return callbackID=r.callbackId(e),r.execSync(o,"onBeaconServiceChange",[callbackID])}};e.ibeacon=t}(window.plus),function(e){var i="Bluetooth",c=window.plus.bridge,t={closeBluetoothAdapter:function(e){return callbackID=this.getCallbackIDByFunction(e.success,e.fail,e.complete),c.exec(i,"closeBluetoothAdapter",[callbackID])},openBluetoothAdapter:function(e){return callbackID=this.getCallbackIDByFunction(e.success,e.fail,e.complete),c.exec(i,"openBluetoothAdapter",[callbackID])},getBluetoothAdapterState:function(e){return callbackID=this.getCallbackIDByFunction(e.success,e.fail,e.complete),c.exec(i,"getBluetoothAdapterState",[callbackID])},getBluetoothDevices:function(r){var s=this,a="function"!=typeof r.complete?function(){}:r.complete,e="function"!=typeof r.success?null:function(e){for(var t=e.devices,n=0;n - - - - Bluetooth - - class - libBlueTooth - - Geolocation - - class - PGGeolocation - global - - - Orientation - - class - PGOrientation - global - - - Maps - - class - PGMap - global - - server - - class - PGBaiduKeyVerify - identifier - com.baidu.keyverify - - - Device - - class - PGDeviceStatus - global - - - File - - class - PGFile - global - - - Cache - - class - PGCache - global - - - Zip - - class - PGZip - global - - - Runtime - - class - PGRuntime - global - - - Audio - - class - PGAudio - global - - - Accelerometer - - class - PGAccelerometer - global - - - Push - - server - - class - PGPushServer - identifier - com.pushserver - - baseclass - PGPush - global - - autostart - - - barcode - - class - PGBarcode - global - - - XMLHttpRequest - - class - PGXHR - global - - - UI - - class - PGUI - global - - extend - - Navigator - PG_Navigate - WebNavigator - PGWebNavi - - - Contacts - - class - PGContacts - global - - - Proximity - - class - PGProximity - global - - - Invocation - - class - PGInvocation - global - - - Statistic - - server - - class - PGUmengStartUp - identifier - com.umeng.startup - - class - PGStatistic - global - - autostart - - - Camera - - class - PGCamera - global - - - Console - - class - PGLog - global - - - Storage - - class - PGNStorage - autostart - - global - - - Gallery - - class - PGGallery - global - - - Downloader - - class - PGDownload - global - - - Messaging - - class - PGMessaging - global - - - Uploader - - class - PGUpload - global - - - Payment - - class - PGPlatbyManager - global - - extend - - - Speech - - class - PGSpeech - global - - extend - - baidu - PGBaiduSpeech - ifly - PGIFLYSpeech - - - OAuth - - extend - - weibo - PGSinaWBOauth - xiaomi - PGMiOauth - qq - PGQQOauth - qihoo - PGQHOauth - weixin - PGWXOauth - apple - PGAppleOauth - univerify - PGUniVerify - - global - - class - PGOauthManager - - Share - - class - PGShareManager - global - - autostart - - argument - weixin - extend - - qq - PGTencentQQShare - tencentweibo - PGQQShare - sinaweibo - PGSinaShare - weixin - PGWXShare - - - NativeObj - - class - PGNativeObj - autostart - - global - - - NativeUI - - class - PGNativeUI - global - - - Navigator - - class - PGNavigator - global - - - Notification - - class - PGNotification - global - - autostart - - - fingerprint - - class - Fingerprint - global - - - Stream - - class - PGStream - global - - - VideoPlayer - - class - PGVideo - global - - - Media - - class - PGMediaVideo - global - - - LivePusher - - class - PGLivePush - global - - - Ad - - class - FeatureUniAd - global - - - ShortVideo - - class - PluginShortVideo - global - - - iBeacon - - class - PGBeacon - global - - - Sqlite - - class - libSqlite - global - - - - diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/history_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/history_barbutton@2x.png deleted file mode 100644 index e10eedc0..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/history_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/history_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/history_barbutton@3x.png deleted file mode 100644 index 33bdb1fc..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/history_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/en.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/en.lproj/Localizable.strings deleted file mode 100644 index 4e845784..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/en.lproj/Localizable.strings and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/zh-Hans.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/zh-Hans.lproj/Localizable.strings deleted file mode 100644 index 256cefb8..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/zh-Hans.lproj/Localizable.strings and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/zh-Hant.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/zh-Hant.lproj/Localizable.strings deleted file mode 100644 index 07843666..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/developers/zh-Hant.lproj/Localizable.strings and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/en.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/en.lproj/Localizable.strings deleted file mode 100644 index ed1a031f..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/en.lproj/Localizable.strings and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings deleted file mode 100644 index afec30d5..00000000 --- a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings +++ /dev/null @@ -1,81 +0,0 @@ -// common -"return"="regreso"; -"Cancel"="Cancelar"; -"OK"="OK"; - -// unimp -"There is no uni applet (%@) application resource in the running path, please check whether the application resource is deployed normally"="No hay un recurso de aplicación uni applet (% @) en la ruta de ejecución, verifique si el recurso de la aplicación se implementa normalmente"; - -// ad -"Refresh"="Actualizar"; -"copy Link"="copiar link"; -"Use Safari to open"="Usa Safari para abrir"; -"Share page"="Compartir pagina"; -"AD"="ANUNCIO"; -"View details"="Ver detalles"; -"Download"="Descargar"; -"Open"="Abierto"; -"jump over"="salte por encima"; - -// video -"Brightness"="Brillo"; -"Volume"="Volumen"; -"Barrage"="Bombardeo"; - -// devtool -"search"="buscar"; -"Connecting to debugging service (%@)"="Conectando al servicio de depuración (% @)"; -"The connection with debugging service has been disconnected. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="Se ha desconectado la conexión con el servicio de depuración. Las posibles razones son las siguientes: \ n1. el teléfono móvil y la PC no están en la misma LAN. \ n2. Los teléfonos móviles utilizan redes móviles. \ n3. El teléfono móvil utiliza VPN y otras configuraciones de proxy. \ n4. La PC tiene un firewall."; -"Unable to connect to debug service connection. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="No se puede conectar a la conexión del servicio de depuración. Las posibles razones son las siguientes: \ n1. el teléfono móvil y la PC no están en la misma LAN. \ n2. Los teléfonos móviles utilizan redes móviles. \ n3. El teléfono móvil utiliza VPN y otras configuraciones de proxy. \ n4. La PC tiene un firewall."; -"Reconnection debugging service"="Servicio de depuración de reconexión"; - -// map -"starting point"="punto de partida"; -"terminal point"="punto terminal"; -"Failed to verify the configured Baidu map key (appkey) [%d], reference: https://ask.dcloud.net.cn/article/29"="No se pudo verificar la clave de mapa de Baidu configurada (appkey) [% d], referencia: https://ask.dcloud.net.cn/article/29"; -"Baidu Maps"="Mapas de Baidu"; -"Gaode Maps"="Mapas de Gaode"; -"Take %@: get on at %@ and get off at %@ via %ld station"="Tome% @: suba en% @ y bájese en% @ a través de la estación% ld"; - -// gallery -"download failed"="Descarga fracasó"; -"File download failed, try to download again?"="Error al descargar el archivo, ¿intentar descargarlo de nuevo?"; -"Retry"="Rever"; -"Next" = "Próximo"; -"Done" = "Hecho"; -"Sorry" = "Lo siento"; -"Setting" = "Configuración"; -"Photos" = "Fotos"; -"Videos" = "Videos"; -"Preview" = "Avance"; -"Full image" = "Imagen completa"; -"Processing..." = "Procesando..."; -"Synchronizing photos from iCloud" = "Sincronizar fotos desde iCloud"; -"Can not use camera" = "No puedo usar la cámara"; -"Can not choose both video and photo" = "No se puede elegir tanto el video como la foto."; -"Can not choose both photo and GIF" = "No se puede elegir tanto la foto como el GIF"; -"Select the video when in multi state, we will handle the video as a photo" = "Seleccione el video cuando esté en varios estados, manejaremos el video como una foto"; -"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "No se puede saltar a la página de configuración de privacidad, vaya a la página de configuración por sí mismo, gracias"; -"Select a maximum of %zd photos" = "Seleccione un máximo de %zd fotos"; -"Select a minimum of %zd photos" = "Seleccione un mínimo de %zd fotos"; -"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Permita que %@ acceda a su álbum en \"Configuración -> Privacidad -> Fotos\""; -"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Permita que %@ acceda a su cámara en \"Configuración -> Privacidad -> Cámara\""; -"Can not access photos in album" = "No se puede acceder a las fotos del álbum."; -"Can not access all photos in album" = "No se puede acceder a todas las fotos del álbum."; -"No photo access" = "Actualmente no hay permiso de acceso a fotos. Se recomienda ir a la configuración del sistema para permitir que las aplicaciones accedan a [Todas las fotos] en [Fotos]"; -"Photo access restricted" = "La aplicación solo puede acceder a algunas fotos del álbum. Se recomienda ir a la configuración del sistema para permitir que la aplicación acceda a [Todas las fotos] en [Fotos]"; -"Go to system settings" = "Ir a la configuración del sistema"; -"Limit tips" = "No se puede acceder a todas las fotos del álbum. \ NPermita el acceso a 「Todas las fotos」 en 「Fotos」."; -"Limit Alert Tips" = "Continuar visitando algunas fotos"; -"Edit" = "Editar"; -"_LFME_oKButtonTitle" = "Hecho"; -"_LFME_cancelButtonTitle" = "Cancelar"; -"_LFME_processHintStr" = "Procesando..."; -"_LFME_alertViewCancelTitle" = "Hecho"; -"_LFME_reachMaximumLimitTitle" = "Límite de entrada alcanzado"; -"Original" = "Original"; -"_LFME_sticker_remove_normal" = "Arrastra aquí para borrar"; -"_LFME_sticker_remove_selected" = "Deja ir a borrar"; -"_LFME_UserGuide_ToolBar_Scroll" = "Desplácese hacia la izquierda encontrará más funciones."; -"_LFME_UserGuide_StickerView_MovingView_Pinch" = "Dos dedos también pueden hacer zoom y rotar."; -"_LFME_UserGuide_StickerView_DisplayView_LongPress" = "Mantenga pulsado para obtener una vista previa de la imagen."; diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings deleted file mode 100644 index 01b398a6..00000000 --- a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings +++ /dev/null @@ -1,81 +0,0 @@ -// common -"return"="revenir"; -"Cancel"="Annuler"; -"OK"="d'accord"; - -// unimp -"There is no uni applet (%@) application resource in the running path, please check whether the application resource is deployed normally"="Il n'y a pas de ressource d'application uni applet (%@) dans le chemin d'exécution, veuillez vérifier si la ressource d'application est déployée normalement"; - -// ad -"Refresh"="Rafraîchir"; -"copy Link"="Copier le lien"; -"Use Safari to open"="Utilisez Safari pour ouvrir"; -"Share page"="Partager la page"; -"AD"="UN D"; -"View details"="Voir les détails"; -"Download"="Télécharger"; -"Open"="Ouvert"; -"jump over"="franchir"; - -// video -"Brightness"="Luminosité"; -"Volume"="Le volume"; -"Barrage"="Barrage"; - -// devtool -"search"="rechercher"; -"Connecting to debugging service (%@)"="Connexion au service de débogage (%@)"; -"The connection with debugging service has been disconnected. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="La connexion avec le service de débogage a été déconnectée. Les raisons possibles sont les suivantes : \n1. le téléphone portable et le PC ne sont pas sur le même réseau local. \n2. Les téléphones portables utilisent les réseaux mobiles. \n3. Le téléphone mobile utilise un VPN et d'autres paramètres proxy. \n4. Le PC a un pare-feu."; -"Unable to connect to debug service connection. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="Impossible de se connecter à la connexion du service de débogage. Les raisons possibles sont les suivantes : \n1. le téléphone portable et le PC ne sont pas sur le même réseau local. \n2. Les téléphones portables utilisent les réseaux mobiles. \n3. Le téléphone mobile utilise un VPN et d'autres paramètres proxy. \n4. Le PC a un pare-feu."; -"Reconnection debugging service"="Service de débogage de reconnexion"; - -// map -"starting point"="starting point"; -"terminal point"="Point final"; -"Failed to verify the configured Baidu map key (appkey) [%d], reference: https://ask.dcloud.net.cn/article/29"="Échec de la vérification de la clé de carte Baidu configurée (appkey) [%d], référence :https://ask.dcloud.net.cn/article/29"; -"Baidu Maps"="Cartes de Baidu"; -"Gaode Maps"="Cartes Gaode"; -"Take %@: get on at %@ and get off at %@ via %ld station"="Prendre %@ : monter à %@ et descendre à %@ via la station %ld"; - -// gallery -"download failed"="Échec du téléchargement"; -"File download failed, try to download again?"="Échec du téléchargement du fichier, réessayer de télécharger ?"; -"Retry"="Réessayez"; -"Next" = "Suivant"; -"Done" = "Fait"; -"Sorry" = "Pardon"; -"Setting" = "Réglage"; -"Photos" = "Photos"; -"Videos" = "Vidéos"; -"Preview" = "Aperçu"; -"Full image" = "Image complète"; -"Processing..." = "Traitement..."; -"Synchronizing photos from iCloud" = "Synchroniser des photos depuis iCloud"; -"Can not use camera" = "Impossible d'utiliser l'appareil photo"; -"Can not choose both video and photo" = "Impossible de choisir à la fois la vidéo et la photo"; -"Can not choose both photo and GIF" = "Impossible de choisir à la fois photo et GIF"; -"Select the video when in multi state, we will handle the video as a photo" = "Sélectionnez la vidéo lorsqu'elle est en multi-état, nous traiterons la vidéo comme une photo"; -"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "Impossible d'accéder à la page des paramètres de confidentialité, veuillez vous rendre à la page des paramètres par vous-même, merci"; -"Select a maximum of %zd photos" = "Sélectionnez un maximum de %zd photos"; -"Select a minimum of %zd photos" = "Sélectionnez un minimum de %zd photos"; -"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Autorisez %@ à accéder à votre album dans \"Paramètres -> Confidentialité -> Photos\""; -"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Veuillez autoriser %@ à accéder à votre caméra dans \"Paramètres -> Confidentialité -> Caméra\""; -"Can not access photos in album" = "Impossible d'accéder aux photos dans l'album"; -"Can not access all photos in album" = "Impossible d'accéder à toutes les photos de l'album"; -"No photo access" = "Il n'y a actuellement aucune autorisation d'accès aux photos. Il est recommandé d'aller dans les paramètres système pour permettre aux applications d'accéder à [Toutes les photos] dans [Photos]"; -"Photo access restricted" = "L'application ne peut accéder qu'à certaines photos de l'album. Il est recommandé d'aller dans les paramètres système pour permettre à l'application d'accéder à [Toutes les photos] dans [Photos]"; -"Go to system settings" = "Allez dans les paramètres système"; -"Limit tips" = "Impossible d'accéder à toutes les photos de l'album.\nVeuillez autoriser l'accès à 「Toutes les photos」 dans 「Photos」."; -"Limit Alert Tips" = "Continuez à visiter quelques photos"; -"Edit" = "Éditer"; -"_LFME_oKButtonTitle" = "Fait"; -"_LFME_cancelButtonTitle" = "Annuler"; -"_LFME_processHintStr" = "Traitement..."; -"_LFME_alertViewCancelTitle" = "Fait"; -"_LFME_reachMaximumLimitTitle" = "Limite d'entrée atteinte"; -"Original" = "Original"; -"_LFME_sticker_remove_normal" = "Faites glisser ici pour supprimer"; -"_LFME_sticker_remove_selected" = "Lâcher prise pour supprimer"; -"_LFME_UserGuide_ToolBar_Scroll" = "Faites défiler vers la gauche pour trouver plus de fonctions."; -"_LFME_UserGuide_StickerView_MovingView_Pinch" = "Deux doigts peuvent également zoomer et pivoter."; -"_LFME_UserGuide_StickerView_DisplayView_LongPress" = "Appuyez longuement pour prévisualiser l'image."; diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/zh-Hans.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/zh-Hans.lproj/Localizable.strings deleted file mode 100644 index 26d6c9ec..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/zh-Hans.lproj/Localizable.strings and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/zh-Hant.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/zh-Hant.lproj/Localizable.strings deleted file mode 100644 index 6e94bc1c..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/zh-Hant.lproj/Localizable.strings and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/iconfont.ttf b/ios/UniMPSDK/Resources/PandoraApi.bundle/iconfont.ttf deleted file mode 100644 index b7853587..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/iconfont.ttf and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/image/loc2@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/image/loc2@2x.png deleted file mode 100644 index 524acd0e..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/image/loc2@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/image/loc2@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/image/loc2@3x.png deleted file mode 100644 index 4e43771d..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/image/loc2@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/left-shadow-img@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/left-shadow-img@2x.png deleted file mode 100644 index f186f574..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/left-shadow-img@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/limit_go_setting@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/limit_go_setting@2x.png deleted file mode 100644 index 9280cb18..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/limit_go_setting@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/limit_warning@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/limit_warning@2x.png deleted file mode 100644 index b8674a4d..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/limit_warning@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/line@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/line@2x.png deleted file mode 100644 index 73ee50a0..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/line@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/line@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/line@3x.png deleted file mode 100644 index 271ceff1..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/line@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/listening_microphone@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/listening_microphone@2x.png deleted file mode 100644 index a8f87533..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/listening_microphone@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/listening_microphone@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/listening_microphone@3x.png deleted file mode 100644 index 62c37461..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/listening_microphone@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton.png deleted file mode 100644 index ad67145f..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton@2x.png deleted file mode 100644 index b14319e5..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton@3x.png deleted file mode 100644 index e80c8927..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/more_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/navLine@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/navLine@2x.png deleted file mode 100644 index f9836a4f..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/navLine@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back.png deleted file mode 100644 index e47678a9..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back_disable.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back_disable.png deleted file mode 100644 index e256475b..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back_disable.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back_press.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back_press.png deleted file mode 100644 index a73d7103..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/back_press.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/cancel.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/cancel.png deleted file mode 100644 index 5143dd97..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/cancel.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward.png deleted file mode 100644 index f70a1794..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward_disable.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward_disable.png deleted file mode 100644 index accb50ec..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward_disable.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward_press.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward_press.png deleted file mode 100644 index 4e16a88e..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/forward_press.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/gallery/video.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/gallery/video.png deleted file mode 100644 index 38693cd7..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/gallery/video.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/refresh.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/refresh.png deleted file mode 100644 index a7c9a0fd..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/refresh.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/stop.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/stop.png deleted file mode 100644 index 9a29a89e..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/plugin/stop.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/pulltorefresh.js b/ios/UniMPSDK/Resources/PandoraApi.bundle/pulltorefresh.js deleted file mode 100644 index 45024c30..00000000 --- a/ios/UniMPSDK/Resources/PandoraApi.bundle/pulltorefresh.js +++ /dev/null @@ -1 +0,0 @@ -!function(){var a,b,c,d,e,f,g,h,i,j=TouchEvent.prototype.preventDefault,k=!1;TouchEvent.prototype.preventDefault=function(a){"string"!=typeof a&&(k=!0),j.call(this)},window.addEventListener("touchstart",function(){k=!1},!0),a='
',"function"!=typeof Object.assign&&(Object.assign=function(a){"use strict";var b,c,d,e;if(null==a)throw new TypeError("Cannot convert undefined or null to object");for(b=Object(a),c=1;cb;b++)d[a[b]]=!0;return d}var b=Array.prototype.forEach,c=Object.prototype.hasOwnProperty,d={},e=function(a){return"object"==typeof a&&a instanceof Array},f=function(a){return"function"==typeof a},g=[].slice,h={},i=function(a,e,f){var g,h,i;if(a)if(b&&a.forEach===b)a.forEach(e,f);else if(a.length===+a.length){for(h=0,i=a.length;i>h;h++)if(h in a&&e.call(f,a[h],h,a)===d)return}else for(g in a)if(c.call(a,g)&&e.call(f,a[g],g,a)===d)return},j=function(b){b=b?h[b]||a(b):{};var c,d,g,i,j,k=[],l=[],m=function(a){var c,d,g;for(c=0,d=a.length;d>c;c++)g=a[c],e(g)?m(g):f(g)&&(b.unique&&o.has(g)||k.push(g))},n=function(a,e){for(e=e||[],c=!b.memory||[a,e],d=!0,j=g||0,g=0,i=k.length;k&&i>j;j++)if(k[j].apply(a,e)===!1&&b.stopOnFalse){c=!0;break}d=!1,k&&(b.once?c===!0?o.disable():k=[]:l&&l.length&&(c=l.shift(),o.fireWith(c[0],c[1])))},o={add:function(){if(k){var a=k.length;m(arguments),d?i=k.length:c&&c!==!0&&(g=a,n(c[0],c[1]))}return this},remove:function(){var a,c,e,f;if(k)for(a=arguments,c=0,e=a.length;e>c;c++)for(f=0;f=f&&(i--,j>=f&&j--),k.splice(f--,1),!b.unique));f++);return this},has:function(a){if(k)for(var b=0,c=k.length;c>b;b++)if(a===k[b])return!0;return!1},empty:function(){return k=[],this},disable:function(){return k=l=c=void 0,this},disabled:function(){return!k},lock:function(){return l=void 0,c&&c!==!0||o.disable(),this},locked:function(){return!l},fireWith:function(a,e){return l&&(d?b.once||l.push([a,e]):b.once&&c||n(a,e)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!c}};return o},k=function(a){var b,c=j("once memory"),d=j("once memory"),e=j("memory"),g="pending",h={resolve:c,reject:d,notify:e},l={done:c.add,fail:d.add,progress:e.add,state:function(){return g},isResolved:c.fired,isRejected:d.fired,then:function(a,b,c){return m.done(a).fail(b).progress(c),this},always:function(){return m.done.apply(m,arguments).fail.apply(m,arguments),this},pipe:function(a,b,c){return k(function(d){i({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c,e=a[0],g=a[1];f(e)?m[b](function(){c=e.apply(this,arguments),c&&f(c.promise)?c.promise().then(d.resolve,d.reject,d.notify):d[g+"With"](this===m?d:this,[c])}):m[b](d[g])})}).promise()},promise:function(a){if(a)for(var b in l)a[b]=l[b];else a=l;return a}},m=l.promise({});for(b in h)m[b]=h[b].fire,m[b+"With"]=h[b].fireWith;return m.done(function(){g="resolved"},d.disable,e.lock).fail(function(){g="rejected"},c.disable,e.lock),a&&a.call(m,m),m},l=function(a){function b(a){return function(b){d[a]=arguments.length>1?g.call(arguments,0):b,--j||l.resolveWith(l,d)}}function c(a){return function(b){i[a]=arguments.length>1?g.call(arguments,0):b,l.notifyWith(m,i)}}var d=g.call(arguments,0),e=0,h=d.length,i=new Array(h),j=h,l=1>=h&&a&&f(a.promise)?a:k(),m=l.promise();if(h>1){for(;h>e;e++)d[e]&&d[e].promise&&f(d[e].promise)?d[e].promise().then(b(e),l.reject,c(e)):--j;j||l.resolveWith(l,d)}else l!==a&&l.resolveWith(l,h?[a]:[]);return m};return k.when=l,k.Callbacks=j,k}(),c=function(){var a=window,b=a.document,c={NONE:0,NOOP:1,UP:2,RIGHT:3,DOWN:4,LEFT:5,LEFT_RIGHT:6},d={con:"",minDistance:4,onPullStart:function(){},onMove:function(){},onPullEnd:function(){}},e=function(a){"string"==typeof a.con&&(a.con=b.querySelector(a.con)),this.options=Object.assign({},d,a),this.hasTouch=!1,this.direction=c.NONE,this.distanceX=this.startY=this.startX=0,this.isPull=!1,this.initEvent()};return e.prototype={initEvent:function(){var a,b=this;this._touchStart=function(a){b.__start(a)},this._touchMove=function(a){b.__move(a)},this._touchEnd=function(a){b.__end(a)},a=b.options.useCapture,window.addEventListener("touchstart",this._touchStart,a),window.addEventListener("touchmove",this._touchMove,a),window.addEventListener("touchend",this._touchEnd,a)},detachEvent:function(){var a=this.options.useCapture;window.removeEventListener("touchstart",this._touchStart,a),window.removeEventListener("touchmove",this._touchMove,a),window.removeEventListener("touchend",this._touchEnd,a)},__start:function(b){var d=b.touches;b=b.targetTouches,1===b.length&&1===d.length&&(this.startX=b[0].pageX,this.startY=b[0].pageY,this.direction=c.NONE,this.distanceX=0,this.hasTouch=!0,this.startScrollY=a.scrollY)},__move:function(a){var b,d,e;if(k&&(this.hasTouch=!1),this.hasTouch){if(this.direction===c.UP)return;b=a.targetTouches[0],this.direction===c.NONE&&(this.distanceX=b.pageX-this.startX,this.distanceY=b.pageY-this.startY,d=Math.abs(this.distanceY),e=Math.abs(this.distanceX),e+d>this.options.minDistance&&(this.direction=e>1.73*d?c.LEFT_RIGHT:d>1.73*e?this.distanceY<0?c.UP:c.DOWN:c.NOOP,this.startScrollY<10&&this.distanceY>0&&(this.direction=c.DOWN)),this.startScrollY<10&&this.direction===c.DOWN&&this.distanceY>this.options.minDistance&&(this.isPull=!0,this.options.onPullStart(a,this.distanceY))),this.isPull&&this.direction===c.DOWN&&(this.distanceY=b.pageY-this.startY,this.refreshY=parseInt(this.distanceY*this.options.pullRatio),this.options.onMove(a,this.distanceY))}},__end:function(a){!this.hasTouch||c.LEFT_RIGHT!==this.direction&&c.DOWN!==this.direction||(this.direction===c.LEFT_RIGHT&&(a.preventDefault("end"),a.stopPropagation(),this.options.onPullEnd(a,this.distanceX,c.LEFT_RIGHT)),this.direction===c.DOWN&&this.isPull&&(a.preventDefault("end"),a.stopPropagation(),this.options.onPullEnd(a,this.distanceY,c.DOWN))),this.hasTouch=!1,this.isPull=!1}},{init:function(a){return new e(a)},DIRECTION:c}}(),d=function(){var a=function(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;switch("string"==typeof b&&(b=parseFloat(b)),"string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),"string"==typeof e&&(e=parseFloat(e)),"string"==typeof f&&(f=parseFloat(f)),"string"==typeof g&&(g=parseFloat(g)),2*Math.PI,a.save(),h){case 0:j=Math.sqrt((f-b)*(f-b)+(g-c)*(g-c)),a.arcTo(d,e,b,c,.55*j),a.fill();break;case 1:i>.5&&(a.save(),a.beginPath(),a.moveTo(b,c),a.lineTo(d,e),a.lineTo(f,g),a.lineTo(b,c),a.fill());break;case 2:a.stroke();break;case 3:k=(b+d+f)/3,l=(c+e+g)/3,a.quadraticCurveTo(k,l,b,c),a.fill();break;case 4:q=5,f==b?(j=g-c,m=(d+b)/2,o=(d+b)/2,n=e+j/q,p=e-j/q):(j=Math.sqrt((f-b)*(f-b)+(g-c)*(g-c)),r=(b+f)/2,s=(c+g)/2,t=(r+d)/2,u=(s+e)/2,v=(g-c)/(f-b),w=j/(2*Math.sqrt(v*v+1))/q,x=v*w,m=t-w,n=u-x,o=t+w,p=u+x),a.bezierCurveTo(m,n,o,p,b,c),a.fill()}a.restore()},b=function(a,b,d,e,f,g,h,i,j,k,l,m,n,o){i="undefined"!=typeof i?i:3,j="undefined"!=typeof j?j:1,k="undefined"!=typeof k?k:Math.PI/8,l="undefined"!=typeof l?l:10,m="undefined"!=typeof m?m:1,a.save(),a.beginPath(),a.globalAlpha=1,a.restore(),a.lineWidth=m,a.beginPath(),a.arc(b,d,e,f,g,h),a.stroke();var p,q,r,s,t;1&j&&(p=Math.cos(f)*e+b,q=Math.sin(f)*e+d,r=Math.atan2(b-p,q-d),h?(s=p+10*Math.cos(r),t=q+10*Math.sin(r)):(s=p-10*Math.cos(r),t=q-10*Math.sin(r)),c(a,p,q,s,t,i,2,k,l,o)),2&j&&(p=Math.cos(g)*e+b,q=Math.sin(g)*e+d,r=Math.atan2(b-p,q-d),h?(s=p-10*Math.cos(r),t=q-10*Math.sin(r)):(s=p+10*Math.cos(r),t=q+10*Math.sin(r)),c(a,p-n*Math.sin(g),q+n*Math.cos(g),s-n*Math.sin(g),t+n*Math.cos(g),i,2,k,l,o)),a.restore()},c=function(b,c,d,e,f,g,h,i,j,k){var l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;"string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),"string"==typeof e&&(e=parseFloat(e)),"string"==typeof f&&(f=parseFloat(f)),g="undefined"!=typeof g?g:3,h="undefined"!=typeof h?h:1,i="undefined"!=typeof i?i:Math.PI/8,j="undefined"!=typeof j?j:10,p="function"!=typeof g?a:g,q=Math.sqrt((e-c)*(e-c)+(f-d)*(f-d)),r=(q-j/3)/q,1&h?(l=Math.round(c+(e-c)*r),m=Math.round(d+(f-d)*r)):(l=e,m=f),2&h?(n=c+(e-c)*(1-r),o=d+(f-d)*(1-r)):(n=c,o=d),b.beginPath(),b.moveTo(n,o),b.lineTo(l,m),b.stroke(),s=Math.atan2(f-d,e-c),t=Math.abs(j/Math.cos(i)),1&h&&(u=s+Math.PI+i,v=e+Math.cos(u)*t,w=f+Math.sin(u)*t,x=s+Math.PI-i,y=e+Math.cos(x)*t,z=f+Math.sin(x)*t,p(b,v,w,e,f,y,z,g,k)),2&h&&(u=s+i,v=c+Math.cos(u)*t,w=d+Math.sin(u)*t,x=s-i,y=c+Math.cos(x)*t,z=d+Math.sin(x)*t,p(b,v,w,c,d,y,z,g,k))};return{drawArrow:c,drawArcedArrow:b}}(),e=function(){var e,f=window,g=(f.document,window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){window.setTimeout(a,1e3/60)}),h={con:"",minDistance:4},i=["onPullStart","onMove","onRelease","needRefresh","doRefresh","noop"],j=25,k=300,l=10,m=function(a){var b=5*a/12;return b},n=function(){var a=document.createElement("canvas"),b=!(!a.getContext||!a.getContext("2d")),c=navigator.userAgent.toLowerCase(),d=(c.match(/chrome\/([\d.]+)/),c.match(/version\/([\d.]+).*safari/)),e=(c.match(/firefox\/([\d.]+)/),c.match(/mx[\d.]+/)),f=!1;return e&&d&&(f=!0),!b&&f}(),o=(function(){return!0}(),function(a){var b,d,e;for(a.con=document.body,b={},d=this,e=0;e=this.minRefreshDistance&&(this.shouldRefresh=!0),this.shouldRefresh},pullTipExist:function(){return this.$pullTip},reset:function(){var a=this.isRefreshing;this.isRefreshing=!1,this.shouldRefresh=!1,this.removePullTip(a)},canvasObj:function(){function a(){var a=(L+1)%J.length;return L=a,a}function c(a){return 360+a-S}function e(){x.clearRect(0,0,2*z,2*A)}function f(a){if(!n){var b=a.start,c=a.end,d=a.lineWidth,f=a.color,g=a.counterClockwise,h=a.co,i=a.clearRect;i&&e(),x.save(),x.globalCompositeOperation=h,x.beginPath(),x.arc(z,A,B,t(b),t(c),g),x.lineWidth=d,x.strokeStyle=f,x.stroke(),x.restore()}}function h(){var b,d,e,g,h,i,j,k,l,m;n||(b=Q.speed,d=Q.startAngle,e=O,g=Q.color,h=Q.lineWidth,i=Q.counterClockwise,j=Q.globalCompositeOperation,k=U||+new Date,e=+new Date,b=360/I*(e-k),U=e,O+=b,e=Math.min(T,O),l="draw"===R,!y&&(f({start:d,end:e,color:g,lineWidth:h,counterClockwise:i,co:j,clearRect:l}),O>=T)&&(x.closePath(),Q="erase"!==R?N:M,R="erase"!==R?"erase":"draw","draw"===R?(K=Q.color,m=a(K),Q.color=J[m],Q.startAngle=(Q.startAngle-S)%360,O=Q.startAngle,T=c(O)):O=Q.startAngle=M.startAngle))}function i(a){var b,c,d,e,f,g,h;n||(b=a,c=M.speed,d=M.startAngle,e=M.startAngle,f=J[0],isNaN(a)||(a=Math.min(v.minRefreshDistance-j,a),g=a/(v.minRefreshDistance-j),h=(T-l)*g-M.startAngle,c=h),e+=c,P=e,o({start:d,end:e,color:f,distance:a,clip:b}))}function m(){var a=v.minRefreshDistance-j,c=1.3*(a/I),d=J[0],e=a,f=+new Date,h=b(),i=function k(){var a,b,i,m;e>=0?(a=+new Date,e-=c*(a-f),f=a,b=e/(v.minRefreshDistance-j),i=(T-l)*b-M.startAngle,m=P-i,m=Math.min(m,P),o({start:m,end:P,color:d,distance:e,clip:e}),g(k)):h.resolve()};return g(i),h}function o(a){var b=a.distance,c=y?10:25,f=D,g=b/(v.minRefreshDistance-j);isNaN(b)||(c*=g,f=D*g),e(),E||(x.globalAlpha=1*a.distance/(v.minRefreshDistance+10)),x.strokeStyle=a.color,x.fillStyle=a.color,d.drawArcedArrow(x,z,A,B,t(a.start),t(a.end),!1,1,2,t(45),c,D,f,x.globalAlpha)}function p(a){var b,c=0;return a&&(a=a.replace("matrix(","").replace(")",""),a=a.replace(/\s+/gi,""),b=a.split(","),c=b[5]||0),c}function q(){var a,b,c,d,e,f=v.$pullTip.ownerDocument.defaultView.getComputedStyle(v.$pullTip,null),h=p(f["transform"]);j>h||(a=k,b=h/a,c=h,d=+new Date,e=function l(){if(c>j&&v.$pullTip){var a=+new Date,e=b*(a-d);c-=e,i(c-j),r(c-j),d=a,g(l)}},g(e))}function r(){}function s(a,b){var c=a;b||(c=Math.max(0,360*((a-j-40*v.options.ratio)/v.minRefreshDistance))),w.style.webkitTransition="none",w.style.webkitTransform="rotate("+c+"deg)"}function t(a){return a*(Math.PI/180)}function u(){}var v=null,w=null,x=null,y=!1,z=100,A=100,B=50,C=0,D=15,E=!1,F=5,G=0,H=1500,I=1e3,J=["green"],K=J[0],L=1,M={startAngle:G,speed:F,color:J[0],counterClockwise:!1,globalCompositeOperation:"source-out",lineWidth:D},N={startAngle:G,speed:F,color:"white",counterClockwise:!1,globalCompositeOperation:"destination-out",lineWidth:D+40},O=G,P=G,Q=M,R="draw",S=50,T=0,U=0,V=-1;return{init:function(a,b){this.reset(),U=0,E=!1,w=a.querySelector("canvas"),x=w.getContext?w.getContext("2d"):w,x.__ignore__=!0,y=!w.getContext,P=O=G,M.startAngle=N.startAngle=G,T=c(O),L=1,J=[b.options.color],M.color=J[L],R="draw",Q=M,v=b,y?(C=9,z=A=B=(40-2*C)/2):(z=A=100,C=0,B=50)},reset:function(){w=null,x=null},drawArrowedArcByDis:function(a){i(a)},drawArc:function(a){n?console.log("not support"):h(a)},clearCurrent:function(){n?console.log("not support"):q()},rotate:s,changeOpacity:r,autoRotate:function(){var a,b,c,d,e,f=w.style.webkitTransform;f=f.replace("rotate(","").replace("deg","").replace(")",""),a=parseFloat(f),b=360/H,c=this,d=+new Date,e=function h(){if(E){var e=+new Date,f=a+b*(e-d);d=e,c.rotate(f,!0),a=f,g(h)}},g(e)},autoDraw:function(){if(!n){var a=function c(){E&&(h(),g(c))},b=m();b.done(function(){g(a)})}},startAuto:function(){E=!0,w.parentNode.style,v.touchPull.detachEvent(),this.autoDraw(),this.autoRotate(),u()},stopAuto:function(){E=!1,w.parentNode.style,v.touchPull.initEvent(),clearTimeout(V)}}}(),initCanvas:function(){this.canvasObj.init(this.$pullTip,this)},beginPullToRefresh:function(){this.shouldRefresh=!0,this.addPullTip(document.body),this._onPullEnd(null,this.minRefreshDistance,4)},addPullTip:function(b){var c,d,e,f;this.removePullTip(),b=this.options.con,c=this.$pullTip,c||(d=document.createElement("div"),d.innerHTML=a.replace(/\{WIDTH\}/g,40*this.options.ratio+"px").replace(/\{SHADOWOFFSETY\}/g,2*this.options.ratio).replace(/\{SHADOWBLUR\}/g,5*this.options.ratio),this.$pullTip=document.body.appendChild(d.firstElementChild),c=this.$pullTip,this.$pullTipInner=c.querySelector("div"),e=c.offsetHeight,j=25*this.options.ratio,this.minRefreshDistance=70*this.options.ratio,f=c,f.querySelector("canvas"),f.style.top=this.options.offset-e+"px",f.style.webkitTransition="none",f.style.webkitTransform="translate3d(0,0,0)",this.initCanvas())},movePullTip:function(a,b,c){var d,e;this.pullTipExist()&&(d=Math.min(this.options.range+20*this.options.ratio,a),this.$pullTip.style.webkitTransition=b||"none",e=50*this.options.ratio,d=Math.max(0,d-e),this.$pullTip.style.webkitTransform="translate3d(0,"+d+"px,0)",this.$pullTip.style.height=Math.min(a,e)+"px",this.$pullTipInner.style.webkitTransform="translateY("+Math.min(0,Math.max(-e,a-e))+"px)",0===a?this.canvasObj.clearCurrent():a>j&&(this.shouldRefresh?this.isRefreshing||c===!0||this.canvasObj.rotate(a):(a<=this.options.range+20*this.options.ratio-5&&a>=40*this.options.ratio&&this.canvasObj.rotate(a),this.canvasObj.drawArrowedArcByDis(a-j),this.canvasObj.changeOpacity(a-j))))},changePullTip:function(){this.pullTipExist()},removePullTip:function(a){if(this.pullTipExist())if(a){var b=this;b.canvasObj.stopAuto(),b.$pullTip.style.webkitTransition="all 100ms linear",b.$pullTip.style.opacity=.1,b.$pullTip.style.webkitTransform+=" scale(0.1)"}else this.$pullTip.removeEventListener("webkitTransitionEnd",this.onTransitionEnd,!1),this.$pullTip.remove(),this.$pullTip=null}},e={init:function(a){return new o(a)}}}(),f=/complete|loaded|interactive/,g=function(a){f.test(document.readyState)?a():document.addEventListener("DOMContentLoaded",function(){a()},!1)},i=!1,window.__setPullToRefresh__=function(a,b){g(function(){var c,d,f,g;return!a.support&&h?(h.reset(),h.touchPull.detachEvent(),i=!0,void 0):(a.support&&(c=window.innerWidth,980===c&&(c=window.plus&&plus.screen.resolutionWidth||window.screen.width),d=c/(window.plus&&plus.screen.resolutionWidth||window.screen.width),f=parseInt(a.offset),g=parseInt(a.range)||128,useCapture=a.useCapture===!1?!1:!0,f*=d,g=g*d+f,h?(h.options.useCapture=useCapture,i&&h.touchPull.initEvent(),a.offset&&(h.options.offset=f),a.range&&(h.options.range=g),a.color&&(h.options.color=a.color),h.options.doRefresh=b):h=e.init({offset:f,range:g,ratio:d,useCapture:useCapture,color:a.color||"green",doRefresh:b})),void 0)})},window.__endPullToRefresh__=function(){h&&h.reset()},window.__beginPullToRefresh__=function(){h&&h.beginPullToRefresh()}}(); \ No newline at end of file diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton.png deleted file mode 100644 index 262ba76c..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton@2x.png deleted file mode 100644 index 65383bd1..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton@3x.png deleted file mode 100644 index fdeecf7d..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/renovate_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/scan_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/scan_barbutton@2x.png deleted file mode 100644 index c29ea56a..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/scan_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/scan_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/scan_barbutton@3x.png deleted file mode 100644 index 81f93e23..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/scan_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/search_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/search_barbutton@2x.png deleted file mode 100644 index 472dc480..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/search_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/search_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/search_barbutton@3x.png deleted file mode 100644 index 833bb672..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/search_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton.png deleted file mode 100644 index 42a5d63e..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton@2x.png deleted file mode 100644 index 42a5d63e..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton@3x.png deleted file mode 100644 index a69b84fd..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/selected_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton.png deleted file mode 100644 index 85dff766..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton@2x.png deleted file mode 100644 index 85dff766..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton@3x.png deleted file mode 100644 index 1f8ab372..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/share_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton.png deleted file mode 100644 index ce63b3e0..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton@2x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton@2x.png deleted file mode 100644 index ce63b3e0..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton@2x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton@3x.png b/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton@3x.png deleted file mode 100644 index a00b4555..00000000 Binary files a/ios/UniMPSDK/Resources/PandoraApi.bundle/shortcut_barbutton@3x.png and /dev/null differ diff --git a/ios/UniMPSDK/Resources/__uniappes6.js b/ios/UniMPSDK/Resources/__uniappes6.js deleted file mode 100644 index d4018e8a..00000000 --- a/ios/UniMPSDK/Resources/__uniappes6.js +++ /dev/null @@ -1 +0,0 @@ -!function(t){"use strict";!function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=0)}([function(t,r,n){n(1),n(54),n(61),n(66),n(68),n(69),n(70),n(71),n(73),n(74),n(76),n(84),n(85),n(86),n(95),n(96),n(98),n(99),n(100),n(102),n(103),n(104),n(105),n(106),n(107),n(109),n(110),n(111),n(112),n(121),n(124),n(125),n(127),n(129),n(130),n(131),n(132),n(133),n(135),n(137),n(140),n(141),n(143),n(145),n(146),n(147),n(148),n(150),n(151),n(152),n(153),n(154),n(156),n(157),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(170),n(171),n(172),n(174),n(178),n(179),n(180),n(181),n(187),n(189),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(201),n(202),n(203),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),t.exports=n(217)},function(r,n,e){var o=e(2),i=e(6),u=e(45),c=e(14),a=e(46),f=e(39),s=e(47),l=e(48),p=e(51),g=e(49),v=e(52),h=g("isConcatSpreadable"),d=v>=51||!i(function(){var t=[];return t[h]=!1,t.concat()[0]!==t}),x=p("concat"),y=function(r){if(!c(r))return!1;var n=r[h];return n!==t?!!n:u(r)};o({target:"Array",proto:!0,forced:!d||!x},{concat:function(t){var r,n,e,o,i,u=a(this),c=l(u,0),p=0;for(r=-1,e=arguments.length;r9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(c,p++,i)}return c.length=p,c}})},function(r,n,e){var o=e(3),i=e(4).f,u=e(18),c=e(21),a=e(25),f=e(32),s=e(44);r.exports=function(r,n){var e,l,p,g,v,h=r.target,d=r.global,x=r.stat;if(e=d?o:x?o[h]||a(h,{}):(o[h]||{}).prototype)for(l in n){if(g=n[l],p=r.noTargetGet?(v=i(e,l))&&v.value:e[l],!s(d?l:h+(x?".":"#")+l,r.forced)&&p!==t){if(typeof g==typeof p)continue;f(g,p)}(r.sham||p&&p.sham)&&u(g,"sham",!0),c(e,l,g,r)}}},function(t,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},function(t,r,n){var e=n(5),o=n(7),i=n(8),u=n(9),c=n(13),a=n(15),f=n(16),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=u(t),r=c(r,!0),f)try{return s(t,r)}catch(t){}if(a(t,r))return i(!o.f.call(t,r),t[r])}},function(t,r,n){var e=n(6);t.exports=!e(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,n){var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);r.f=i?function(t){var r=o(this,t);return!!r&&r.enumerable}:e},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r,n){var e=n(10),o=n(12);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(6),o=n(11),i="".split;t.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,r){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(r,n){r.exports=function(r){if(r==t)throw TypeError("Can't call method on "+r);return r}},function(t,r,n){var e=n(14);t.exports=function(t,r){if(!e(t))return t;var n,o;if(r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!e(o=n.call(t)))return o;if(!r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,r){var n={}.hasOwnProperty;t.exports=function(t,r){return n.call(t,r)}},function(t,r,n){var e=n(5),o=n(6),i=n(17);t.exports=!e&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,r,n){var e=n(3),o=n(14),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,r,n){var e=n(5),o=n(19),i=n(8);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},function(t,r,n){var e=n(5),o=n(16),i=n(20),u=n(13),c=Object.defineProperty;r.f=e?c:function(t,r,n){if(i(t),r=u(r,!0),i(n),o)try{return c(t,r,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},function(t,r,n){var e=n(14);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,r,n){var e=n(3),o=n(22),i=n(18),u=n(15),c=n(25),a=n(26),f=n(27),s=f.get,l=f.enforce,p=String(a).split("toString");o("inspectSource",function(t){return a.call(t)}),(t.exports=function(t,r,n,o){var a=!!o&&!!o.unsafe,f=!!o&&!!o.enumerable,s=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof r||u(n,"name")||i(n,"name",r),l(n).source=p.join("string"==typeof r?r:"")),t!==e?(a?!s&&t[r]&&(f=!0):delete t[r],f?t[r]=n:i(t,r,n)):f?t[r]=n:c(r,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||a.call(this)})},function(r,n,e){var o=e(23),i=e(24);(r.exports=function(r,n){return i[r]||(i[r]=n!==t?n:{})})("versions",[]).push({version:"3.3.6",mode:o?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,r){t.exports=!1},function(t,r,n){var e=n(3),o=n(25),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,r,n){var e=n(3),o=n(18);t.exports=function(t,r){try{o(e,t,r)}catch(n){e[t]=r}return r}},function(t,r,n){var e=n(22);t.exports=e("native-function-to-string",Function.toString)},function(t,r,n){var e,o,i,u=n(28),c=n(3),a=n(14),f=n(18),s=n(15),l=n(29),p=n(31),g=c.WeakMap;if(u){var v=new g,h=v.get,d=v.has,x=v.set;e=function(t,r){return x.call(v,t,r),r},o=function(t){return h.call(v,t)||{}},i=function(t){return d.call(v,t)}}else{var y=l("state");p[y]=!0,e=function(t,r){return f(t,y,r),r},o=function(t){return s(t,y)?t[y]:{}},i=function(t){return s(t,y)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!a(r)||(n=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,r,n){var e=n(3),o=n(26),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,r,n){var e=n(22),o=n(30),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(r,n){var e=0,o=Math.random();r.exports=function(r){return"Symbol("+String(r===t?"":r)+")_"+(++e+o).toString(36)}},function(t,r){t.exports={}},function(t,r,n){var e=n(15),o=n(33),i=n(4),u=n(19);t.exports=function(t,r){for(var n=o(r),c=u.f,a=i.f,f=0;fa;)e(c,n=r[a++])&&(~i(f,n)||f.push(n));return f}},function(t,r,n){var e=n(9),o=n(39),i=n(41),u=function(t){return function(r,n,u){var c,a=e(r),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,r,n){var e=n(40),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,r){var n=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:n)(t)}},function(t,r,n){var e=n(40),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},function(t,r){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,r){r.f=Object.getOwnPropertySymbols},function(t,r,n){var e=n(6),o=/#|\.prototype\./,i=function(t,r){var n=c[u(t)];return n==f||n!=a&&("function"==typeof r?e(r):!!r)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,r,n){var e=n(11);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,r,n){var e=n(12);t.exports=function(t){return Object(e(t))}},function(t,r,n){var e=n(13),o=n(19),i=n(8);t.exports=function(t,r,n){var u=e(r);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(r,n,e){var o=e(14),i=e(45),u=e(49)("species");r.exports=function(r,n){var e;return i(r)&&("function"!=typeof(e=r.constructor)||e!==Array&&!i(e.prototype)?o(e)&&null===(e=e[u])&&(e=t):e=t),new(e===t?Array:e)(0===n?0:n)}},function(t,r,n){var e=n(3),o=n(22),i=n(30),u=n(50),c=e.Symbol,a=o("wks");t.exports=function(t){return a[t]||(a[t]=u&&c[t]||(u?c:i)("Symbol."+t))}},function(t,r,n){var e=n(6);t.exports=!!Object.getOwnPropertySymbols&&!e(function(){return!String(Symbol())})},function(t,r,n){var e=n(6),o=n(49),i=n(52),u=o("species");t.exports=function(t){return i>=51||!e(function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo})}},function(t,r,n){var e,o,i=n(3),u=n(53),c=i.process,a=c&&c.versions,f=a&&a.v8;f?o=(e=f.split("."))[0]+e[1]:u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=e[1]),t.exports=o&&+o},function(t,r,n){var e=n(34);t.exports=e("navigator","userAgent")||""},function(t,r,n){var e=n(2),o=n(55),i=n(56);e({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(r,n,e){var o=e(46),i=e(41),u=e(39),c=Math.min;r.exports=[].copyWithin||function(r,n){var e=o(this),a=u(e.length),f=i(r,a),s=i(n,a),l=arguments.length>2?arguments[2]:t,p=c((l===t?a:i(l,a))-s,a-f),g=1;for(s0;)s in e?e[f]=e[s]:delete e[f],f+=g,s+=g;return e}},function(r,n,e){var o=e(49),i=e(57),u=e(18),c=o("unscopables"),a=Array.prototype;a[c]==t&&u(a,c,i(null)),r.exports=function(t){a[c][t]=!0}},function(r,n,e){var o=e(20),i=e(58),u=e(42),c=e(31),a=e(60),f=e(17),s=e(29)("IE_PROTO"),l=function(){},p=function(){var t,r=f("iframe"),n=u.length;for(r.style.display="none",a.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write("