iOS将多个图像复制到粘贴板
我可以像这样复制一个图像到粘贴板:
UIPasteboard *pasteboard; pasteboard = [UIPasteboard generalPasteboard]; UIImage *image; [pasteboard setImage:image];
如何将两个或三个图像复制到粘贴板?
[[UIPasteboard generalPasteboard] setImages:[NSArray arrayWithObjects:firstImage, secondImage, nil]];
我想这就是你要找的。 也可以设置多种types的单个图像(PNG,JPG等),以便其他应用程序更有可能find可用的图像。
〜祝你好运