526互联
首页
Ai
Java
Python
Android
Mysql
JavaScript
Html
CSS
UIButton
UIView上添加UITapGestureRecognizer手势后,导致view上的UIButton无响应
通过手势代理方法判断处理,代码如下 let tap = UITapGestureRecognizer(target: self, action: #selector(tapAction)) tap.delegate = self view.addGestureRecognizer(tap) func ......
UITapGestureRecognizer
手势
UIButton
UIView
view
更新时间 2023-07-27
共1篇 :1/1页
首页
上一页
1
下一页
尾页