xiongxiong / ActionCell

ActionCell, wraps UITableViewCell with actions elegantly, no need to inherit UITableViewCell, use swiping to trigger actions (known from the Mailbox App).
MIT License
44 stars 14 forks source link

Not working with navigationController?.hidesBarsOnSwipe = true #1

Closed JFERSD closed 7 years ago

JFERSD commented 7 years ago

Hi @xiongxiong,

When I set self.navigationController?.hidesBarsOnSwipe = true cell options won't show. If I disable it, it works.

xiongxiong commented 7 years ago

Hi @perroyverde

You can use a custom NavigationController, like this one:

`class NavigationController: UINavigationController, UIGestureRecognizerDelegate {

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

}`

JFERSD commented 7 years ago

It worked like a charm. Thanks @xiongxiong !