Ok, now I understand. In my original project, I mistakenly made my root view controller be the initial controller when I was upgrading to a scene lifecycle. I did have a navigation controller, but when I made my root view controller the initial controller, it removed the initial controller status from the navigation controller. That prevented the navigation bar item from working. So in this test project, once I added a navigation controller (as you suggested) and made the ViewController have a "root view controller" relationship to the navigation controller, then it works. Thanks.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: