UINavigationController Extensions

Omar Albeik edited this page Dec 10, 2016 · 3 revisions

UINavigationController extensions

Methods:

Name Return Description
popViewController(completion: (()->Void)? = nil) -- Pop ViewController with completion handler.
pushViewController(viewController: UIViewController, completion: (()->Void)? = nil) -- Push ViewController with completion handler.
makeTransparent(withTint: UIColor = .white) -- Make navigation controller's navigation bar transparent.