Objective-c custom UIPresentationController for presenting UIViewController with dialog style.
If you are using CocoaPods, add to your Podfile:
pod 'NgDialogPresentationController'To manually add to your projects:
- Add files in
NgDialogPresentationControllerfolder to your project. - Add these frameworks to your project:
UIKit.
Since the library has dependency to NgKeyboardTracker pod, you need to also manually add it to your project.
To present a view controller with dialog presentation style, create instance of DialogTransitionStyle and set it as the view controller's transition delegate.
You can refer to demo application file TextFieldDialogViewController.m for example.
