Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylerlantern/140803844617c3567438147109be53b7 to your computer and use it in GitHub Desktop.
Save tylerlantern/140803844617c3567438147109be53b7 to your computer and use it in GitHub Desktop.
extension BHMenuTransitionManager : UIViewControllerTransitioningDelegate {
func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
presentationAnimator = BHMenuPresentation(presentedViewController: presented, presenting: presenting)
return presentationAnimator
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment