UIViewController(FWToolkit)

@interface UIViewController (FWToolkit)

/// 自定义侧滑返回手势VC开关,enablePopProxy启用后生效,仅处理边缘返回手势,优先级低,自动调用fw.allowsPopGesture,默认YES
@property (nonatomic, assign, readonly) BOOL allowsPopGesture;

/// 自定义控制器返回VC开关,enablePopProxy启用后生效,统一处理返回按钮点击和边缘返回手势,优先级高,自动调用fw.shouldPopController,默认YES
@property (nonatomic, assign, readonly) BOOL shouldPopController;

@end

Undocumented

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL allowsPopGesture;
  • 自定义控制器返回VC开关,enablePopProxy启用后生效,统一处理返回按钮点击和边缘返回手势,优先级高,自动调用fw.shouldPopController,默认YES

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL shouldPopController;