Skip to content

Overriding gestureRecognizerShouldBegin - Problems when dismissing the modal #1

@manuelteixeira

Description

@manuelteixeira

Do you think we can override the gestureRecognizerShouldBegin, so we can have this presented in a modal?
That way it disables the pan gesture on the signature view. (preventing from dismissing the modal)
I'm having this issue https://stackoverflow.com/questions/56718552/disable-gesture-to-pull-down-form-page-sheet-modal-presentation

override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
      !(gestureRecognizer is UIPanGestureRecognizer)
}

Thanks 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions