Top "Uiresponder" questions

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

Detecting a touch anywhere on the screen

I am wanting to know when a user has touched anywhere on the screen of my app. I have looked …

ios objective-c cocoa-touch uigesturerecognizer uiresponder
UIView, its superview and touchesBegan:

Suppose I have a UIViewController subclass that takes care of some UIViews. These UIViews are added as subviews of the …

iphone ipad uiview touch uiresponder
How to get touches when parent view has userInteractionEnabled set to NO in iOS

When the parent view has userInteractionEnabled=NO, its subviews will not accept touch events even if their userInteractionEnabled property is …

ios uikit touch uiresponder
UIToolbar standard sizes

What are the standard sizes of a UIToolbar for the following: iPhone/iPod iPhone 3.5 inch vertical iPhone 3.5 inch horizontal iPhone 4 …

ios objective-c uiresponder
UIWebView without Copy/Paste and selection rectangle when showing documents

In my App I want to disable the Copy/Paste/Cut of contents that are showed by a UIWebView object. …

iphone ipad uiwebview selection uiresponder
How to send touch events to superview in iOS?

I am doing an iPad app. How do I send touch events to its superview? I am adding a view …

ios uiview uiresponder uievent
UIMenuController with custom item not working with UICollectionview

I have added custom menu controller when long press on UICollectionViewCell [self becomeFirstResponder]; UIMenuItem *menuItem = [[UIMenuItem alloc] initWithTitle:@"Custom Action" …

objective-c uicollectionview uimenucontroller uiresponder
UIGestureRecognizer receive touch but forward it to UIControl as well

How would you allow a UIGestureRecognizer of a UIView to receive a touch event but also make sure that another, …

ios uiview uigesturerecognizer uiresponder uievent
keyboardWillShow called twice

I have a view with keyboard notifications such as keyboardWillShow and keyboardWillHide All the codes handles with the notification I …

iphone ios notifications nsnotifications uiresponder
Why does AppDelegate inherit from UIResponder?

I noticed that when creating a new project with the iPhone Master-Detail template in Xcode 4.2 beta 4, it does: // AppDelegate.h @…

ios uiresponder