| 应用平台 | 适用版本 | 开发环境 |
| iOS | iOS 11.0及以上系统 | 支持 Objective-C 和 Swift |
将 EsignSDK.bundle 和 EsignSDK.framework 拖入项目中;
将 TencentCloudHuiyanSDKFace_framework 文件夹添加到本地项目目录中。
注意:iOS的SDK、Demo仅支持编译到实机上运行
pod "TencentCloudHuiyanSDKFace_framework", :path => "./TencentCloudHuiyanSDKFace_framework"
pod "AFNetworking", "~> 4.0.1"
pod "YYModel", "~> 1.0.4"
pod "YYCache", "~> 1.0.4"
请在 info.plist 文件中配置以下系统权限:
方法签名:
- (void)initConfig:(EsignSDKConfig *)config
success:(void (^)(void))success
failure:(void (^)(EsignSDKError * _Nonnull error))failure;
接口说明: 传入互亿无线开放平台获取的 licenseKey 和 license 文件内容,完成 SDK 激活。
| 参数 | 类型 | 必填 | 说明 |
| EsignSDKConfig | Config | 是 | 配置信息 |
| key | string | 是 | 互亿无线获取到的licenseKey |
| license | string | 是 | 互亿无线获取到的license文件内字符串 |
| success | callBack | 是 | 初始化结果回调 |
请求示例:

方法签名:
- (void)startFaceVerify:(NSString *)faceAuthCode
success:(void (^)(EsignFaceVerifyResult * _Nonnull result))success
failure:(void (^)(EsignSDKError * _Nonnull error))failure;
接口说明: 调用刷脸 SDK,发起核身流程。
| 参数 | 类型 | 必填 | 说明 |
| faceAuthCode | String | 是 | 由后端接口获取的人脸识别 token(faceToken) |
请求示例:

国内专业互联网团队
21年行业经验
7x24小时售后支持
丰富的行业经验
Copyright © 2004-2025 上海思锐信息技术有限公司 All rights reserved. 沪ICP备07035915号-15 电信增值业务许可证:B2-20160082
服务热线:
4008 808 898
服务热线(工作时间):
4008 808 898
业务咨询(非工作时间):
售后咨询(非工作时间):