Edited at

iOS SwipeBackでButtonのtouchを阻害しない方法

More than 1 year has passed since last update.


ViewController.swift

if let interactivePopGestureRecognizer = self.navigationController?.interactivePopGestureRecognizer {

interactivePopGestureRecognizer.cancelsTouchesInView = false
interactivePopGestureRecognizer.delaysTouchesEnded = false
interactivePopGestureRecognizer.delaysTouchesEnded = false
}

対策不能と勘違いしてましたが、普通にUIGestureRecognizer取れるんですね