复制字符串到剪贴板
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.label.text;
复制图片到剪贴板
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.image = image;
复制字符串到剪贴板
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.label.text;
复制图片到剪贴板
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.image = image;
本文标题:剪贴板
本文链接:https://www.haomeiwen.com/subject/nziodttx.html
网友评论