iOS 调用系统粘贴板UIPasteboard

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

参考资料:

ios开发 UIPasteboard 的简单使用

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

原文地址:https://www.cnblogs.com/qingzZ/p/14205375.html