iOS -------复制文字到系统粘贴板
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.label.text;
就只需要这么两行代码,你就可以去其他地方粘贴self.label.text了。。。。
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.label.text;
就只需要这么两行代码,你就可以去其他地方粘贴self.label.text了。。。。