fastred / SloppySwiper

UINavigationController delegate that allows swipe back gesture to be started from anywhere on the screen (not just from the edge).
MIT License
806 stars 107 forks source link

Disable panRecognizer when the current viewController is root #4

Closed jaeheeko closed 10 years ago

jaeheeko commented 10 years ago

When the current view controller is root, there is no need to pop it. Also, there are cases that swipe gestures are used to open up side views on root like notifications list. So I think it is reasonable to disable panRecognizer on SloppySwiper when the current view controller is root.

Anyway, thanks for your great library!

fastred commented 10 years ago

Thanks for sending the pull request! I've just merged it and released version 0.3.0 of the pod.