将文本复制到剪切板

将文本复制到剪切板

下面方法可以将文本复制到剪切板
UIPasteboard *pboard = [UIPasteboard generalPasteboard];
pboard.string = @"邀请码";
05-11 17:54