Skip to content

Swipe to delete doesn't work in UITableView added as a subview #229

@ensenyourit

Description

@ensenyourit

When a UITableView is added. It's swipe to remove gesture conflicts with Pan Gesture.

In
extension SheetViewController: UIGestureRecognizerDelegate

Add the following code, maybe put that Bool to settings to avoid breaking something for others.

public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool { true }

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