Open zzimbler opened 9 years ago
It would be really nice to have this also copy an image. Perhaps a new method called CopyImage() which accepts a URL?
Example pulled from stackoverflow
NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://fc05.deviantart.net/fs37/f/2008/283/a/b/KaleidoCoils_animated__gif_by_1389AD.gif"]]; UIPasteboard *pasteBoard=[UIPasteboard generalPasteboard]; [pasteBoard setData:data forPasteboardType:@"com.compuserve.gif"];
But asynchron request please :). This code above would block ui till the operation is done or timeouted
It would be really nice to have this also copy an image. Perhaps a new method called CopyImage() which accepts a URL?
Example pulled from stackoverflow