Quantcast
Viewing all articles
Browse latest Browse all 10

Answer by Maggie for How do I save a UIImage to a file?

NSData *imageData = UIImagePNGRepresentation(image);[imageData writeToFile:path atomically:YES];

where path is the name of the file you want to write it to.


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>