剪贴板

作者: lewis0213 | 来源:发表于2016-06-24 16:11 被阅读0次

    复制字符串到剪贴板

    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

    pasteboard.string = self.label.text;

    复制图片到剪贴板

    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

    pasteboard.image = image;

    相关文章

      网友评论

          本文标题:剪贴板

          本文链接:https://www.haomeiwen.com/subject/nziodttx.html