I have a view with UIPanGestureRecognizer.
UIPanGestureRecognizer *recognizer = [[UIPanGestureRecognizer alloc]
initWithTarget:self action:@selector(handlePan:)];
[recognizer setMaximumNumberOfTouches:1];
[recognizer setDelegate:self];
[self.view addGestureRecognizer: recognizer];
=======
-(void) handlePan:(UIPanGestureRecognizer*)gestureRecognizer
{
move subview of self.view
}
subview have a scroll view inside. how to capture gesture with event -handlePan: when scroll view is at the end of horizontal scrolling?

You can use following function: