APP偶爾需要點(diǎn)擊功能,把字符串復(fù)制到系統(tǒng)粘貼板,方法如下:
UIPasteboard*pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string=self.label.text;
APP偶爾需要點(diǎn)擊功能,把字符串復(fù)制到系統(tǒng)粘貼板,方法如下:
UIPasteboard*pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string=self.label.text;