侃侃尔雅
stackoverflow看到这么一个回答,ios上的不兼容使用了一个很机智的trick。。。:ZeroClipboard is the best cross-browser solution I've found:
ClicktocopyIf you need non-flash support for iOS you just add a fall-back:clip.on('noflash',function(client,args){
$("#copy").click(function(){vartxt=$(this).attr('data-clipboard-text');
prompt("Copylink,thenclickOK.",txt);
});
});//zeroclipbo...原答案地址