ios-复制字符串到剪贴板

UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

    pasteboard.string = self.label.text;

你可能感兴趣的:(ios)