ios就更简单了。
+(void)copy:(NSString*)content
{
NSLog(@"%@",@"-----复制-----");
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = content;
}
↧
求肋官方团队:cocos creator 复制文本到android、ios等全平台剪贴板 应该怎么实现
↧