iOS 将字符串复制到粘贴板

 UIPasteboard *pab = [UIPasteboard generalPasteboard];
    NSString *string = self;
    [pab setString:string];

你可能感兴趣的:(iOS)