I am trying to reproduce the behaviour of the slide up menu of the new iOS Google Maps application.
So basically it\'s a view that you can slide up with panning up to a
OK, I figured it out!
I used examples from UIPanGestureRecognizer - Only vertical or horizontal to limit my pan to up and down to vertical scrolling and made turn it to state failed when panned horizontally.
I also used : Restricting UIPanGestureRecognizer movement to block the view from panning to far up or down.
Finally I reversed the requiresToFail to :
[_slideUpScrollView.panGestureRecognizer requireGestureRecognizerToFail:_panGestureRecognizer];
And there it works!
Let me know if you have questions or have improvements to propose!
Thanks!