iOS 将字符串复制到粘贴板
程序员文章站
2023-12-23 16:31:46
iOS 将字符串复制到粘贴板。
UIPasteboard *pab = [UIPasteboard generalPasteboard];
NSString *string =...
iOS 将字符串复制到粘贴板。
UIPasteboard *pab = [UIPasteboard generalPasteboard];
NSString *string = self;
[pab setString:string];