Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 250

root-tutorial-5.34.14-2.fc18.noarch.rpm

#import "ScrollViewWithPickers.h"


@implementation ScrollViewWithPickers

//____________________________________________________________________________________________________
- (UIView *) hitTest : (CGPoint) point withEvent : (UIEvent *) event
{  
   UIView * const v = [super hitTest : point withEvent : event];
   if ([v isKindOfClass : [UIPickerView class]] || [v.superview isKindOfClass : [UIPickerView class]]) {
      self.canCancelContentTouches = NO;
      self.delaysContentTouches = NO;
   } else {
      self.canCancelContentTouches = YES;
      self.delaysContentTouches = YES;
   }
   
   return v;
}

@end