UINavigationControllerallows you to navigate back to a view controller from child view controllers using a back button.
Editorin the window menu,
Embed inand then choose
UINavigationController, with a
root view controllerrelationship link from that to your first view controller. They'll be a styleable
UINavigationBarwithin this UINavigationController.
UINavigationController(or should do, depending how you've setup your app), which will the start the first view controller. From there, when you press the button it'll load your third controller.
UINavigationItem, which you can use to set the title of your view controller and the name of the back button used when coming back.
viewin the third view controller, you can add
UINavigationItemand give that a title too. And in of your view controllers, unclicking
Adjust scroll view insetsmay help if your content is being pushed down.
swift ios ios-navigationcontrollerPage 1 of 1