EZSwipeController icon indicating copy to clipboard operation
EZSwipeController copied to clipboard

dismissing VC

Open YouKnowOJ opened this issue 7 years ago • 1 comments

I added the EZSwipeController to my project, but it is not my rootViewController. On the first VC returned (index 0), I added a custom button on the left side to dismiss the entire VC, but it does not work. I tried all these:

self.navigationController!.popToRootViewController(animated: true) self.navigationController!.popViewController(animated: true) self.navigationController!.dismiss(animated: true, completion: nil) self.dismiss(animated: true, completion: nil)

YouKnowOJ avatar Oct 11 '16 02:10 YouKnowOJ

This seems like a rather unique use case.

From what I can tell, you have a navigation controller which you're then adding an EZSwipe to as a child, and then trying to pop the EZSwipeController from a child controller in the EZSwipeController?

A-la: UINavigationController => MainViewController => EZSwipeController => [UIViewController]

If so, i'd have to take a closer look to ascertain why those aren't working, but a clearer picture of what your VC stack looks like would help significantly.

Thanks! Jon

JFKingsley avatar Oct 11 '16 19:10 JFKingsley