To run the example project, clone the repo, and run
pod install from the Example directory first.
CustomViewPresenter is available through CocoaPods. To install it, simply add the following line to your Podfile:
It is very simple to implement. Make use this method from your view controller to present any view with this Custom Presenter.
interactivelyPresent(viewControllerToPresent, isAnimated, completionBlock)
You can also customize the appearance of the background view whilst presenting. By default, the background will be blurred but the size will not be adjusted.
shouldBlurBackground: Bool shouldTransformBackgroundView: Bool
You can also customize the appearance of the view by using this method. You can set the 'shouldBeMaximized' property to true to load the view in full screen.
interactivelyPresent(viewControllerToPresent, isAnimated, completionBlock, shouldBeMaximised)
CustomViewPresenter is available under the MIT license. See the LICENSE file for more info.
|Last commit: 1 week ago|