Add navigation controller for example

This commit is contained in:
Ivan Vorobei
2019-01-21 15:15:54 +03:00
parent 7f998787a4
commit 90ee3d35da
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ class Controller: UIViewController {
let transitionDelegate = SPStorkTransitioningDelegate()
modal.transitioningDelegate = transitionDelegate
modal.modalPresentationStyle = .custom
present(modal, animated: true, completion: nil)
self.present(modal, animated: true, completion: nil)
}
@objc func presentModalTableViewController() {
@@ -38,6 +38,6 @@ class Controller: UIViewController {
let transitionDelegate = SPStorkTransitioningDelegate()
modal.transitioningDelegate = transitionDelegate
modal.modalPresentationStyle = .custom
present(modal, animated: true, completion: nil)
self.present(modal, animated: true, completion: nil)
}
}