UIViewController

@objc extension UIViewController
  • 自定义侧滑返回手势VC开关,enablePopProxy启用后生效,仅处理边缘返回手势,优先级低,自动调用fw.allowsPopGesture,默认true

    Declaration

    Swift

    @MainActor
    open var allowsPopGesture: Bool { get }
  • 自定义控制器返回VC开关,enablePopProxy启用后生效,统一处理返回按钮点击和边缘返回手势,优先级高,自动调用fw.shouldPopController,默认true

    Declaration

    Swift

    @MainActor
    open var shouldPopController: Bool { get }