/InteractiveViewController

iOS 仿微信小程序左滑dimiss界面以及下拉dismiss界面;

Primary LanguageObjective-C

InteractiveViewController

UIViewController

  1. 可实现交互式下滑结束页面

  2. 仿微信小程序左滑dismiss界面;

  • (void)viewDidLoad { // ...

    [self addDismissGestureWithDirection:UIInteractiveDirectionHorizontal];

    // ... }

例子:

image