Save UIImage to Desktop on iOS Simulator
A simple UIImage
category for saving images to desktop when running iOS app in the simulator:
UIImage myImage = ...;
[myImage rs_saveToDesktop]; // Saving as `/Users/{username}/Desktop/RSUIImage/image.png`
[myImage rs_saveToDesktopWithName:@"my"]; // Saving as `/Users/{username}/Desktop/RSUIImage/my.png`
The sources are at GitHub.Gist: [UIImage+RSSaveToDesktop][gist]
Written by Yan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#