函数:clearAllKeyChains 清空钥匙串(仅支持 iOS)

函数名称:清空应用钥匙串信息

函数功能:删除手机安装应用钥匙串信息

支持版本:仅支持 iOS 系统

函数方法

clearAllKeyChains(tb)

clearAllKeyChains(info)

参数 类型 必填 说明
info number 默认使用新版清理钥匙串功能
如果类型写 1,则调用 v1.2.0 版本清理钥匙串功能
tb table 仅 TSLib v1.2.8 及其以上版本支持,不写默认为清空所有应用钥匙串信息

tb 参数介绍

参数 类型 必填 说明
tstab number 只能写为 1
bid table 应用包名,多个包名用 , 隔开

函数用例

require "TSLib"--使用本函数库必须在脚本开头引用并将文件放到设备 lua 目录下
local tb = {tstab=1,bid={"com.abc.mm","com.bcd.mm"}}
clearAllKeyChains(tb)
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""