ios 点击按钮实现复制功能
2017-09-25 本文已影响22人
biubiuboom
UIPasteboard*pab = [UIPasteboardgeneralPasteboard];
NSString*string =self.shopQQ;
[pabsetString:string];
if(pab ==nil) {
[TDBaseToolshowMessage:@"复制失败"time:1.0];
}else{
[TDBaseToolshowMessage:@"复制成功"time:1.0];
}