中国优质的IT技术网站
专业IT技术创作平台
IT职业在线教育平台
沙箱目录怎么获取
微信扫码分享
沙箱目录提供files(文件)、cache(缓存)、temp(临时)、preferences(数据库)文件目录。
let “文件沙箱目录” = getContext(this).filesDir; let “缓存文件沙箱目录” = getContext(this).cacheDir; let “临时文件沙箱目录” = getContext(this).tempDir; let “数据库文件沙箱目录” = getContext(this).preferencesDir;
沙箱目录提供files(文件)、cache(缓存)、temp(临时)、preferences(数据库)文件目录。