如何避免从屏幕上复制手机间隙应用内容 [英] how to avoid copy phone gap app content from screen
本文介绍了如何避免从屏幕上复制手机间隙应用内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个helloworld手机间隙应用程序它工作正常,但当我长按它显示的内容,如浏览器不喜欢应用程序因为它显示搜索,复制像我的应用程序屏幕上的按钮我怎么能避免这个
I have a helloworld phone gap app it works fine but when i long press on the content it show like browser not like app because it shows search,copy like buttons on my app screen how can i avoid this
推荐答案
<style type="text/css">
* {
-webkit-touch-callout: none;
-webkit-user-select: none; /* Disable selection/copy in UIWebView */
}
</style>
这篇关于如何避免从屏幕上复制手机间隙应用内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文