clearCache 清空缓存(仅支持 iOS)
--清空缓存
function clearCache()
os.execute("su mobile -c uicache");
end
clearCache()
注意事项
- 较高 iOS 系统 os.execute 函数可能无效。
- 15 及以上系统隐根越狱不支持 os.execute 函数,请更换 https://helpdoc.touchsprite.com/dev_docs/32/5.html 对应代码再试。
--清空缓存
function clearCache()
os.execute("su mobile -c uicache");
end
clearCache()
注意事项