navController.navigationItem
is never actually added to the navigation bar. It exists because the nav controller is a subclass of UIViewController
. But it isn't used.
Add a root view controller to the nav controller and add the scroll view as its navigationItem
titleView
.
Depending on what you're after you may also want to subclass the nav controller to inject your custom titleView
when any new view controller is pushed.