基本思路:把图片转换成字符串,然后用 NSUserDefaults保存 // 将图片存到本地 NSData *picData = UIImageJPEGRepresentation(image, 1);