Questions tagged [touch-up-inside]

40 questions
0
votes
1 answer

TouchUpInside doesn't recognize more than one click

The nextButton only responds to the first click. Do I need to implement something else to recognize more clicks? nextButton.TouchUpInside += (s, e) => { };
joshii_h
  • 1,583
  • 3
  • 14
  • 24
0
votes
0 answers

Presenting ViewController over current context gets stuck

I'm trying to present a viewcontroller modally over current context when I press a button ("Touch Down") and when I release that button ("Touch Up Inside") I want the viewcontroller to be dismissed. This is my code: (buttonPressed is the "Touch…
0
votes
1 answer

touchUpInside and touchUpOutside of a button in libgdx

LibGDX offers event listeners that we can attach to buttons. Inside listener there is a method touchUp() we can override. I come from iOS dev and in iOS there was an option touchUpInside and touchUpOutside. Namely, if the user released the finger…
potato
  • 4,479
  • 7
  • 42
  • 99
0
votes
1 answer

iOS UIButton Touch-Up-Inside weird behavior

My iOS application contains a tableView and has a today widget extension which also contains a tableView. Both tableViews can contain cells which feature two buttons. The tableViews content mode is "dynamic properties" and each prototype cell has…
0
votes
0 answers

Can't create a UIBarButtonItem TouchUpInside method?

With a normal button, I can create a Touch Up Inside method easily. With a UIBarButtonItem, the only IBAction available is Selector. Looking at previous Stack Overflow answers, I tried pressing a down button on the UIBarButtonItem to reveal a…
0
votes
0 answers

button touch up inside event not being triggered always

I am currently working on an application that is pretty similar to a chat app so what I did is I created my own server and in the app I am using streams to send messages to the server and retrieve messages from it. I have many functions that require…
tudoricc
  • 709
  • 1
  • 12
  • 31
0
votes
1 answer

how to recognize UITableView Cell Touchup inside for more than 5 sec from User

I am creating one app, where i am showing some rss content from url for my UITableView until here its working perfect. But here what i want is when user click and hold on UITableViewCell for more than 5 sec do other functionality. i just want how to…
-1
votes
1 answer

CollectionView Not Responding to Touch Events

I have a UICollectionView inside of a UIViewController declared as follows: class CollectionViewController : UIViewController, UICollectionViewDelegateFlowLayout, UICollectionViewDataSource, UICollectionViewDelegate { private var tables =…
Alk
  • 5,215
  • 8
  • 47
  • 116
-1
votes
2 answers

How to perform click event in subview button in iphone?

I have 3 class with 3 view controller. And I am adding Second view as a subview in my First View. and In second view there are a button and I want that when I click on that button, a method will called of second view. But my application is crash…
SKMAISM
  • 9
  • 4
-2
votes
1 answer

UIButton does not respond to tap when added inside a subview on UIWindow

I have a pop-up that I need to show on UIWindow. The pop-up has 3 buttons. The pop-up is perfectly added to the window but the buttons on the pop-up does not respond to touch. Here is my code to add pop-up to window: let windowCount =…
Sushil Sharma
  • 2,321
  • 3
  • 29
  • 49
1 2
3