Category Archives: iOS

iOS如何支持手势返回

传统做法是在viewcontroller上设置navigationController的interactivePopGesturerecovnezer,但是bug很多,推荐如下,在nav controller上的做法:
class C4MVTNavigationController: UINavigationController {

// MARK: - Property
override var supportedInterfaceOrientations: UIIn[......]

继续阅读