PullToDismiss
PullToDismiss provides dismiss modal viewcontroller function like Facebook Messenger by pulling scrollview or navigationbar with smooth and rich background effect.
// set custom Blur
pullToDismiss?.background = BlurEffect(color: .red, alpha: 0.5, blurRadius: 40.0, saturationDeltaFactor: 1.8)
#### dismissableHeightPercentage

```swift
// to pull half size of view controller, dismiss view controller.
pullToDismiss?.dismissableHeightPercentage = 0.5
Requirements
- iOS 8.0+ (blur effect: iOS 9.0+)
- Xcode 8.1+
- Swift 3.0+
Installation
Carthage
- Add the following to your Cartfile:
- Run
carthage update
- Add the framework as described.
Details: Carthage Readme
CocoaPods
PullToDismiss is available through CocoaPods. To install
it, simply add the following line to your Podfile:
and run pod install
Manually Install
Download all *.swift
files and put your project.