iOS -------复制文字到系统粘贴板

UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

    pasteboard.string = self.label.text;

就只需要这么两行代码,你就可以去其他地方粘贴self.label.text了。。。。

posted on 2017-02-24 19:50  _MaL  阅读(162)  评论(0)    收藏  举报