在做hybrid app时用webcode做了个页面嵌入native,在对图片进行长按时出现以下菜单
请问,如果我想禁止弹出这个菜单用webcode能实现吗?
网上找了找资料说以下属性可以禁止:
-webkit-touch-callout:none;
实际测试无效!
环境:IOS7.1.2 Iphone 4S
小伙伴们有没有其他办法解决这个问题
先谢谢了!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
http://ask.dcloud.net.cn/docs/
window.ontouchstart = function(e) { e.preventDefault(); };