Created
June 5, 2018 18:58
-
-
Save vialyx/258b6118e77b36babe52bad2514cee94 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class InteractiveModalTransitioningDelegate: NSObject, UIViewControllerTransitioningDelegate { | |
/* | |
....... | |
*/ | |
// MARK: - UIViewControllerTransitioningDelegate | |
func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? { | |
return InteractiveModalPresentationController(presentedViewController: presented, presenting: presenting) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment