Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
116 views

The documentation says set: recognizer.cancelsTouchesInVew = NO; and add the recognizer to the top view. I tried and it does not work. Below is the code pattern I used: UIView *custom_overlay_1 = [[...
Stanley's user avatar
  • 4,434
0 votes
1 answer
50 views

I added UITapGestureRecognizer for single and double clicks on UITableViewCell, and let the single click gesture be responded to when the double click gesture fails, but I don't want the tableView's ...
Uzy's user avatar
  • 1
-1 votes
1 answer
119 views

I encountered a problem, it doesn't work. When I assign a tap to a StackView element and tap through the simulator, nothing happens. Please tell me in detail what the problem is, what I misunderstand. ...
Vladislav Zhelezniak's user avatar
1 vote
0 answers
103 views

In the application, we need an action (pop-up menu) to open when clicked: Primary click on TrackPad (one finger) Secondary click on the TrackPad (Click in bottom right/left corner or Click with two ...
Pavel Zorin's user avatar
0 votes
0 answers
229 views

I want to display a menu from a tap gesture on a UIView. How can I achieve this? let privacyTap = UITapGestureRecognizer(target: self, action: #selector(self.editVisibilityPressed(sender:))) ...
Halpo's user avatar
  • 3,154
0 votes
1 answer
33 views

I have a custom UITableViewHeaderFooterView which is called ProfileHeaderView. It does contain UIImageView called userImage. How can I access this userImage for adding a tap gesture. Here's the piece ...
Philipp's user avatar
  • 347
0 votes
2 answers
86 views

I need left swipe gesture for my viewcontroller and in the same viewcontroller i have one imageView if i click that imageView i need to use "UITapGestureRecognizer" and push to another ...
learn_swift's user avatar
1 vote
0 answers
45 views

I have added UITapGestureRecognizer for collectionview cell image like code: with this code if i tap on two cell images then both are showing. Here if i tap on second cell image then how to remove ...
iOS work's user avatar
2 votes
1 answer
916 views

So I have a Reality Composer file "Experience" loaded onto an XCode project with three scenes. I have added behaviors and actions that work in XCode. The actions work perfectly, hiding and ...
justCubesAndText's user avatar
0 votes
1 answer
115 views

Edited 4/10 - see notes at the end I have a Xamarin Forms multiplatform app using a TapGestureRecognizer to get to a details page. I have it working successfully on Android and iOS however I am now ...
Gary H's user avatar
  • 115
0 votes
1 answer
30 views

In my ViewController i have mapView - maps. In map, if user double tap, map zoom in. It is default option, i did not set it up. I add UITapGestureRecognizer, because i work with single tap. But when i ...
user avatar
0 votes
1 answer
106 views

I am working on creating a single player game with a computer opponent and I would like to add a pause between when the human player and the computer takes their turns so it doesn´t feel so calculated....
Aaron White's user avatar
0 votes
2 answers
208 views

code: with this code edit profile showing in blue colour but tap gesture not working.. if i click on "edit profile" then the its always goes to tapLabel method's else part always prints ...
Swift's user avatar
  • 1,180
1 vote
2 answers
485 views

I have a UIViewController with a subview of a UIView. I add a UITapGestureRecognizer to the UIViewController to dismiss the view, but when I tap on the subview, the whole view still dismisses and I ...
Alex171's user avatar
  • 39
1 vote
1 answer
293 views

I want to get hyperlink in UITextView and with tap gesture I'm enabling textView.isEditable = true. But the link is not displaying in UITextView. I have a custom TextView which I'm calling in ...
aks swift's user avatar
1 vote
0 answers
2k views

I have a UIDatePicker view that is embedded in a UIImageView. I want to create a functionality where when the UIImageView is tapped, the UIDatePicker's calendar appears on the screen. I also want the ...
Nadia Siddiqah's user avatar
0 votes
1 answer
253 views

I have to open a view controller via a hyperlink on a UILabel. This only worked halfway for me. I cannot use UITextView according to my project requirement. The following code creates a hyperlink on a ...
Sarthak's user avatar
  • 29
0 votes
1 answer
421 views

I create this basic tap gesture function for dismissing view and I added a delegate to override tap when the user taps on another custom sheet (container). @objc func handleTapGesture() { dismiss(...
Sebastian's user avatar
1 vote
1 answer
292 views

I have been using TapGestureRecognizer for a while now, I had this issue from the beginning (the first time when I tested the app on an IOS device, for some reason I am having issues running a ...
E962's user avatar
  • 747
0 votes
1 answer
50 views

My app requires to display a screen saver after 2 min of inactivity in a viewcontroller. I have used timer with tap gesturerecognizer to achieve it and it works, but images doesnt scroll. It displays ...
Honey's user avatar
  • 2,880
1 vote
1 answer
62 views

I try to add UIView for every tap on screen, but once I tapped UIView is added, but I can't safe him on screen , he is gone when I untapped. What should I do for safe UIView on screen and tap once to ...
Artem Mazur's user avatar
0 votes
0 answers
363 views

I have some views my user can tap. The functionality has been added to my views like this: let touchUpGesture = UITapGestureRecognizer { recognizer in print("something") ...
crost's user avatar
  • 192
0 votes
0 answers
97 views

B: Transparent View with alpha 0.1 and attached Gesture recognizer, that will dismiss the view bView.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(dismisClicked(_:)))) C: ...
Salar Pro's user avatar
  • 149
0 votes
1 answer
145 views

I am new to deletegate so i dont know how to fix these issue Evenhandler is null and it cannot it main method once clicked here is my code public event EventHandler<CarSchematic.PointEventArgs> ...
newxamarin's user avatar
0 votes
3 answers
2k views

Question EDITED since it seems people were confused... See my code below and watch the attached "video" of what is happening. The popup closes: when the user taps on a button selection ...
Kaplan's user avatar
  • 121

1
2 3 4 5
25