A libary that allows you to present a UINavigationController semi modally. Designed modularily, you can create a slideable, zoomable, dismissable and subclassable way of presenting view controllers over other view controllers
- Drag out a
UINavigationController
and assign it to a customHBSemiModal
class. HBSemiModalNavigationController
: a simple modal way of presenting aUINavigationController
without a lot of interactionHBSlideSemiModalNavigationController
: a modal way of presenting aUINavigationController
allowing you to drag and change the height of a presentedUINavigationController
. Optionally, you can enable automatic dismissal of the presented controller if neededHBZoomSemiModalNavigationController
: a modal way of presenting aUINavigationController
allowing you to drag and change the height and zoom of a presentedUINavigationController
. Optionally, you can enable automatic dismissal of the presented controller if needed- Create a custom UIStoryboardSegue to the new
UINavigationController
and assign it to the custom classHBSemiModalStoryboardSegue
- See the demo for more!
- Change the insets (i.e. the left, right, top and bottom padding) of the presented controller
- Change the minimum and height of the presented controller
- Change the duration of the show and hide animation of the presentation of the controller
- Change the corner radius of the navigation bar of the presented controller
- Enable or disable dragging of the presented controller
- Enable or disabled automatically dismissing the presented controller if it is dragged and dropped past a specific height percentage
- Change the anchor when zooming the presented controller in or out
- Subclass the various
HBSemiModal
classes to change or implement functionality