剪贴板

2016-06-24  本文已影响0人  lewis0213

复制字符串到剪贴板

UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

pasteboard.string = self.label.text;

复制图片到剪贴板

UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

pasteboard.image = image;

上一篇下一篇

猜你喜欢

热点阅读