版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/bitcser/article/details/78821257
在按钮点击事件中实现如下代码即可
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.url;
在按钮点击事件中实现如下代码即可
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.url;