-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action on long press #269
Comments
My first guess would be that some UIGestureRecognizer is catching the tap. |
There is no UIGestureRecognizer on that view controller. I added UIGestureRecognizer but on another view controller. |
You could try to replace the action button with a regular |
I checked UIButton s action is fired on tap. Here is my code. class AllUsersVC: BaseVC, UITableViewDelegate {
// @objc func showBtn(){ } extension AllUsersVC : UITableViewDataSource ,buttonDelegate{
} |
Maybe you are right, and the table view is somehow causing problems. Is the button a subview of the table view? [EDIT] saw that it's not. |
Its not subview. I added a view and add button in that but still problem is there. actionButton.display(inView: myView) |
Hi, I have same problem and I have UITAPGestureRecognizer to hide keyboard.... Have you any solution for it??? Thank you |
CocoaPods
Describe the bug
I installed the pod its working fine but not on tap on long press. when I long press on it its working fine.
how I can change it to action on single tap
thanks for held in advance.
Additional context
The text was updated successfully, but these errors were encountered: