函数:ipaUninstall 卸载应用(仅支持 iOS)

函数名称:卸载应用

函数功能:用于卸载 ipa 类型的应用程序

引擎版本:iOS v2.3.6 以上

函数方法

flag = ipaUninstall(bid)

参数 类型 必填 说明
bid string 所要卸载的应用程序 Bundle ID
返回值 类型 说明
flag number 0 - 卸载失败;1 - 卸载成功

函数用例

--卸载触动 iOS 输入法
flag = ipaUninstall("com.touchsprite.inputtext")
if flag == 1 then
    dialog("卸载成功")
else
    dialog("卸载失败")
end

注意事项

  • 此功能支持在 iOS 6 以上版本的系统中使用
  • 调用此函数前需确保在目标设备中已安装过 AppSync Unified 插件(请在 Cydia 中添加源:https://cydia.akemi.ai/ 安装此插件)
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""