Add support for the .gestureRecognizerShouldBegin() delegate method.