私はUIImage
この方法で保存しています:
//save to file
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : nil;
UIImage *imageToSave = newSize;
NSData *binaryImageData = UIImagePNGRepresentation(imageToSave);
[binaryImageData writeToFile:basePath atomically:YES];
自分の名前 (myImage.png) を付けたいと思います。コードのどこに名前を挿入できますか? ありがとう 。