A pop gesture in viewcontroller even if there is a horizontal scrollview.
Use CocoaPods.
pod 'UINavigationController+YHPopGesture'
You don't have to do anything,AOP have already done it for you.
UINavigationController+YHPopGesture is under MIT license. See the LICENSE file for more information.