文章分类 -  ios之获取文件后缀

摘要:https://blog.csdn.net/j_akill/article/details/52506980?locationNum=13 2016年09月11日 23:10:45 阅读数:2052 2016年09月11日 23:10:45 阅读数:2052 阅读数:2052 有时候,我们需要获取一 阅读全文
posted @ 2018-07-10 17:32 sundaysios 阅读(695) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/1598451f10d1 2018.06.04 15:40 字数 144 阅读 42评论 0喜欢 0 https://www.jianshu.com/p/1598451f10d1 2018.06.04 15:40 字数 144 阅读 42评论 0喜 阅读全文
posted @ 2018-07-10 17:30 sundaysios 阅读(670) 评论(0) 推荐(0) 编辑
摘要://从路径中获得完整的文件名 (带后缀) 对从相册中取出的图片,视频都有效。 NSString *fileName = [filePath lastPathComponent]; //获得文件名 (不带后缀) NSString *fileName1 = [filePath stringByDelet 阅读全文
posted @ 2018-07-10 17:22 sundaysios 阅读(644) 评论(0) 推荐(0) 编辑
摘要:2016年04月08日 18:31:31 阅读数:612 2016年04月08日 18:31:31 阅读数:612 阅读数:612 //获取图片后缀 + (NSString *)typeForImageData:(NSData *)data { uint8_t c; [data getBytes:& 阅读全文
posted @ 2018-07-10 17:16 sundaysios 阅读(995) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示