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 ![img2](Documents/img2.png) ```swift // to pull half size of view controller, dismiss view controller. pullToDismiss?.dismissableHeightPercentage = 0.5
- iOS 8.0+ (blur effect: iOS 9.0+)
- Xcode 8.1+
- Swift 3.0+
- Add the following to your Cartfile:
github "sgr-ksmt/PullToDismiss" ~> 2.1
- Add the framework as described.
Details: Carthage Readme
PullToDismiss is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'PullToDismiss', '~> 2.1'
*.swift files and put your project.