Top "Uiresponder" questions

The UIResponder class defines an interface for objects that respond to and handle events.

UIGestureRecognizer blocks subview for handling touch events

I'm trying to figure out how this is done the right way. I've tried to depict the situation: I'm adding …

objective-c ios uiview uigesturerecognizer uiresponder
How to ignore touch events and pass them to another subview's UIControl objects?

I have a custom UIViewController whose UIView takes up a corner of the screen, but most of it is transparent …

ios cocoa-touch uikit uiresponder
Is there any way of asking an iOS view which of its children has first responder status?

In Mac OS X, you can find the first responder like this: [[self window] firstResponder] Is there any way of …

ios cocoa-touch uiresponder responder-chain
UIButton in cell in collection view not receiving touch up inside event

The following code expresses my problem: (It's self-contained in that you could create a Xcode project with an empty template, …

ios uicollectionview uiresponder
Dismiss keyboard with swipe gesture (as in Message app)

When the keyboard is showing on the iPhone's Messages app, if the user begins a swipe down from the messages …

iphone ios uitableview uigesturerecognizer uiresponder
How to add tap gesture to UICollectionView , while maintaining cell selection?

Task Add a single tap gesture to UICollectionView, do not get in the way of cell selection. I want some …

ios swift uicollectionview uigesturerecognizer uiresponder
How do Responder Chain Works in IPhone? What are the "next responders"?

This is what the documentation says: If the first responder [to an event or action message] cannot handle an event …

iphone objective-c ios uiresponder
On iOS, if a superview's userInteractionEnabled is NO, then all subviews are disabled as well?

I thought when a view is touched or tapped on, its handler get called first, and then its superview's handler …

iphone ios uiview uikit uiresponder
InputAccessoryView docked at bottom

I'm trying to achieve similar positioning behavior as the bottom text input bar in Apple's Messages app. I have tried …

ios uinavigationcontroller uitoolbar uikeyboard uiresponder
How to cancel a sequence of UITouch events?

I have a UIImage view that responds to touch events. I want to cancel the touch sequence, i.e., further …

iphone ios uitouch touchesmoved uiresponder