func present(animated: Bool = false) -> Self {
let controller = self.viewController ?? createViewController()
let transitionDelegate = SPStorkTransitioningDelegate()
transitionDelegate.customHeight = 100
controller.transitioningDelegate = transitionDelegate
controller.modalPresentationStyle = .custom
controller.modalPresentationCapturesStatusBarAppearance = false
navigationController.hero.isEnabled = false
navigationController.present(controller, animated: true, completion: nil)
return self
}
see gif
