获取沙盒中文件的大小

废话很少说,直接上代码:code let filePath = "The file path" do { let dic: [FileAttributeKey: Any] = try FileManager.default.attributesOfItem(atPath: filePath) let bytes = dic[FileAttributeKey.size] pr
相关文章
相关标签/搜索