iOS 将文本复制到剪切板

401 阅读1分钟
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string =@"将文本复制到剪切板";