stringByDeletingLastPathComponent // 删除文件名中最后一个"\"及之后的内容 转载于:https://www.cnblogs.com/iapp/p/3631716.html