SlackTextViewController inside MXSegmentedPager does not handle gestures to the right

I use Slack Text View Controller https://github.com/slackhq/SlackTextViewController inside essentially scroll and don't like it. I use this library https://github.com/maxep/MXSegmentedPager , which handles vanilla collections and table view controllers, but not Slack.

therefore, slack is a child, and segmentedPager is the parent controller.

I have textView.delegate = selfand install

func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: UIGestureRecognizer) -> Bool {
    return true
}

for true for both the child and the parent or one or the other to no avail. Not sure if this is a problem, or if I am doing it wrong, any ideas? In particular, after scrolling down, scroll through the backup

+4
source share

Source: https://habr.com/ru/post/1629504/


All Articles