I have an iPad application in which I have a view controller that is a UIGestureRecognizerDelegate for a series of UIGestureRecognizers. I applied the following UIGestureRecognizerDelegate method:
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch {
}
My setup is a full-screen EAGLView with UIToolbar on top of EAGLView. The toolbar has a UIBarButtonItem. The idea here is that double-clicking allows you to switch the appearance of the toolbar. All other gestures must occur in EAGLView.
My problem is that the taps directly on the UIBarButtonItem show touch.view as a subclass of the UIView UIToolbarTextButton, which is undocumented and cannot be introduced.
BUT?
Could someone offer a job, preferably using introspective kindness of some kind?
Thank,
Doug
Thank,
Arc
ipad introspection uigesturerecognizer uitoolbar uitouch
dugla May 01 '10 at 1:18 2010-05-01 01:18
source share