title: UIPageViewController with UISlider inside controller - increase hit area of slider
body: <p>I have multiple controllers in my PageViewController and in one controller I have a few sliders. Now there is a problem that user must touch exactly slider circle (I am not sure about right expression, thumb? - that moving part) and I would like to increase area in which reacts slider and not the whole PageViewController. I tried these solutions but it doesn't help:</p>
  
  <ul>
  <li><p>thumbRectForBounds:</p>
  
  <pre><code>- (CGRect)thumbRectForBounds:(CGRect)bounds trackRect:(CGRect)rect value:(float)value
  {
      return CGRectInset ([super thumbRectForBounds:bounds trackRect:rect value:value], 15, 15);
  }
  </code></pre></li>
  <li><p>Increase hitTest area:</p>
  
  <pre><code>- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
      if (CGRectContainsPoint(CGRectInset(self.frame, 200, 200), point) || CGRectContainsPoint(CGRectInset(self.frame, 200, 200), point)) {
           return self;
      }
      return [super hitTest:point withEvent:event];
  }
  </code></pre></li>
  </ul>
  
  <p>I have these methods in my custom slider class because I would like to reuse this. Last thing what I found and not tried yet is create some object layer over slider which "takes" gesture and disable PageViewController but I am not sure how to do it and I am not sure if it's good/best solution.</p>