在百度和论坛找了很多方法都不能用的,有没有详细的方案可以解决调用剪切板的问题呢?求助
2.0.9版本新增了 拷贝文本到剪贴板的API: jsb.copyTextToClipboardAPI
ios的话可以这样
+ (void)copyToClipboard:(NSString*) s {
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = s;
}
android的没研究过,如果你找到了,可以告诉我哈
mark creator调用原生剪切板
请问从哪里可以查看这些api?文档好像没有写