首页
IT
登录
6mi
u
盘
搜
搜 索
IT
iOS 点击按钮复制信息功能
iOS 点击按钮复制信息功能
xiaoxiao
2021-11-29
25
UIPasteboard *pab = [UIPasteboard generalPasteboard];
NSString *string = @"测试";
[pab setString:string];
if (pab == nil) {
[MBProgressHUD showError:@"复制失败"];
}else
{
[MBProgressHUD showSuccess:@"已复制"];
}
转载请注明原文地址: https://ju.6miu.com/read-678859.html
专利
最新回复
(
0
)