UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
                    [pasteboard setString:md.shareLink];
                    [HUDManager showStateHud:@"链接复制成功" state:(HUDStateTypeSuccess)];

 

参考资料:

ios开发 UIPasteboard 的简单使用

https://www.jianshu.com/p/1213f9f00fdd

posted on 2020-12-29 10:53  懂事长qingzZ  阅读(569)  评论(0编辑  收藏  举报