首页 > 代码库 > ios-复制字符串到剪贴板

ios-复制字符串到剪贴板

UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

    pasteboard.string = self.label.text;

ios-复制字符串到剪贴板