From d98c997f5b1fd742fceb3794c1497183893a8d33 Mon Sep 17 00:00:00 2001 From: wangzhitong Date: Mon, 28 Oct 2024 12:04:24 +0800 Subject: [PATCH] update ios/modules.md --- docs/native/modules/ios/modules.md | 42 +++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/docs/native/modules/ios/modules.md b/docs/native/modules/ios/modules.md index 7be3bed7..f2410d23 100644 --- a/docs/native/modules/ios/modules.md +++ b/docs/native/modules/ios/modules.md @@ -25,7 +25,7 @@ | 源文件 | 依赖库 | 资源文件 | | --- | ---| ---| -| UTSOC.h
UTSOC.mm
uni-getAppAuthorizeSetting-index.swift
uni-getAppBaseInfo-index.swift
uni-getDeviceInfo-index.swift
uni-getSystemInfo-index.swift
uni-getSystemSetting-index.swift
uni-openAppAuthorizeSetting-index.swift
uni-prompt-index.swift
uni-rpx2px-index.swift
uni-storage-index.swift
uni-theme-index.swift
uni-getElementById-DCUniGetElementById.swift
uni-getElementById-index.swift | DCloudUniappRuntime.xcframework
DCloudUTSFoundation.xcframework
DCUniToast.xcframework
DCloudAlertController.xcframework
storage.framework| uts-config.json | +| UTSOC.h
UTSOC.mm
uni-getAppAuthorizeSetting-index.swift
uni-getAppBaseInfo-index.swift
uni-getDeviceInfo-index.swift
uni-getSystemInfo-index.swift
uni-getSystemSetting-index.swift
uni-openAppAuthorizeSetting-index.swift
uni-prompt-index.swift
uni-rpx2px-index.swift
uni-storage-index.swift
uni-theme-index.swift
uni-getElementById-DCUniGetElementById.swift
uni-getElementById-index.swift
uni-crash-index.swift
uni-crash-UniCrashManager.swift
uni-privacy-index.swift
uni-dialogPage-index.swift
uni-dialogPage-native.swift
uni-event-index.swift
uni-event-native.swift| DCloudUniappRuntime.xcframework
DCloudUTSFoundation.xcframework
DCUniToast.xcframework
DCloudAlertController.xcframework
KSCrash.xcframework
storage.framework| uts-config.json | ### 配置其他模块(可选) 根据资源文件中的`manifest.json`文件包含的模块名称,选择以下源文件(`SDK/ExtApiSrc 目录下`)、依赖库(`SDK/Libs 目录下`)添加到DCloudUTSExtAPI工程中,依赖库均设置为`Do Not Embed` @@ -49,11 +49,7 @@ | uni-ad | uni-ad-index.swift | DCUniAdFoundation.xcframework | | | uni-facialRecognitionVerify | uni-facialRecognitionVerify-index.swift | AliyunFaceAuthFacade.framework
AliyunMobileRPC.framework
AliyunOSSiOS.framework
APBToygerFacade.framework
APPSecuritySDK.framework
BioAuthAPI.framework
BioAuthEngine.framework
deviceiOS.framework
DTFIdentityManager.framework
DTFSensorServices.framework
DTFUIModule.framework
DTFUtility.framework
MPRemoteLogging.framework
ToygerNative.framework
ToygerService.framework | c++
z
resolv
c++.1
c++abi
z.1.2.8
Accelerate
AssetsLibrary
QuartzCore
CoreFoundation
CoreLocation
ImageIO
CoreMedia
CoreMotion
AVFoundation
WebKit
AudioToolbox
CFNetwork
MobileCoreServices
SystemConfiguration
CoreTelephony
QuartzCore
CoreGraphics、AdSupport | | uni-cloud-client | uni-websocket-index.swift
uni-network-index.swift
uni-media-index.swift| DCloudMediaPicker.xcframework |AssetsLibrary
Photos
AVFoundation
CoreServices
CoreFoundation
CoreGraphics
CoreImage
GLKit
MetalKit
MobileCoreServices
QuartzCore
ImageIO
MediaPlayer
CoreText| -| uni-crash | uni-crash-index.swift
uni-crash-UniCrashManager.swift | KSCrash.xcframework | | -| uni-privacy | uni-privacy-index.swift | | | -| uni-dialogPage | uni-dialogPage-index.swift
uni-dialogPage-native.swift | | | -| uni-event | uni-event-index.swift
uni-event-native.swift | | | - +| uni-map-tencent | uni-map-tencent-animation-AnimationLocation.swift
uni-map-tencent-circle-DCCircle.swift
uni-map-tencent-circle-DCCircleModel.swift
uni-map-tencent-control-DCControl.swift
uni-map-tencent-control-DCControlModel.swift
uni-map-tencent-DCLatLng.swift
uni-map-tencent-ground-DCGroundOverlayModel.swift
uni-map-tencent-IInternalMap.swift
uni-map-tencent-index.swift
uni-map-tencent-marker-DCMakerModel.swift
uni-map-tencent-marker-DCMarker.swift
uni-map-tencent-polygon-DCPolygon.swift
uni-map-tencent-polygon-DCPolygonModel.swift
uni-map-tencent-polyline-DCPolyline.swift
uni-map-tencent-polyline-DCPolylineModel.swift
uni-map-tencent-TencentMapImpl.swift | QMapFoundationKit.framework
QMapKit.framework
QMapSDKUtils.framework
QMapVisualPlugin.framework | sqlite3
c++| ### 配置uts-config.json(可选) @@ -128,6 +124,17 @@ }] } ``` + +`uni-map-tencent`模块需要添加如下配置 + ``` +{ + "components": [{ + "name": "map", + "class": "UTSSDKModulesDCloudUniMapMapComponent", + "delegateClass": "UniMapComponentRegister" + }] +} +``` `uts-config.json`配置示例图 @@ -251,6 +258,29 @@ xcodebuild -create-xcframework -framework 真机路径/DCloudUTSExtAPI.framework TencentLBSAPIKey 此处填写腾讯定位的ApiKey ``` + + +## uni-map-tencent + +### 添加依赖库以及资源文件 +| 依赖库 | 资源文件 | +|---|---| +| DCloudPermissionLocation.xcframework | dcloud_map_marker_ic.png
dcloud_traffic_texture_blue.png | + +### Info.plist +1. 添加`仅运行期间使用定位权限描述(NSLocationWhenInUseUsageDescription)` + ``` + + NSLocationAlwaysAndWhenInUseUsageDescription + 需要您的同意,才能访问位置信息 + + ``` +2. 添加 `TencentLBSAPIKey` 配置项 + ``` + TencentLBSAPIKey + 此处填写腾讯地图的ApiKey + ``` + ## uni-payment-alipay ### 添加依赖库以及资源文件 -- GitLab