UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = self.shareLink;
点击按钮实现复制功能
UIPasteboard *pab = [UIPasteboard generalPasteboard];
NSString *string = @"测试";
[pab setString:string];
if (pab == nil) {
[MBProgressHUD showError:@"复制失败"];
}else
{
[MBProgressHUD showSuccess:@"已复制"];
}