If I have a UIImage from an imagePicker, how can I save it to a subfolder in the documents directory?
UIImage
NSData *imageData = UIImagePNGRepresentation(image); [imageData writeToFile:path atomically:YES];
where path is the name of the file you want to write it to.