Skip to content

Home Index

Heath Wang edited this page Aug 16, 2019 · 1 revision

Introduction

HWPanModal is used to present controller from bottom and drag to dismiss.

Features

  1. Supports any type of UIViewController
  2. Seamless transition between modal and content
  3. Support two kinds of GestureRecognizer
    1. UIPanGestureRecognizer, direction is UP & Down.
    2. UIScreenEdgePanGestureRecognizer, you can swipe on screen edge to dismiss controller.
  4. Support write your own animation for presenting VC.
  5. Support config animation Duration, AnimationOptions, springDamping.
  6. Support config background alpha or blur background. Note: Dynamic change blur effect ONLY works on iOS9.0+.
  7. Show / hide corner, indicator.
  8. Auto handle UIKeyboard show/hide.
  9. Hight customize indicator view.

Compatibility

iOS 8.0+, support Objective-C & Swift.

Dependency

KVOController - facebook

Clone this wiki locally