Chapter 11:Navigation Controllers

My question in Chapter 11:Navigation Controllers

  1. when i write these function but the segue not appear “cancel” and “done”.

  2. i was settings “AddItem” is never but still large title, and in the interface builder was automatic.

  3. How to make ViewController in the Storyboard title large is bigger such simulator ?

截屏2020-06-18上午11.51.02

Hi @herbay, you can set your navigation title to large by using

navigationController?.navigationBar.prefersLargeTitles = true

It appears that your AddItemViewController file is receiving an error in the debugger. Check the storyboard for AddItemviewController and make sure the correct class is set. Also set the “Custom Class” field module is empty with a name of your app in grey. Inherit module from target should be checked.

This topic was automatically closed after 166 days. New replies are no longer allowed.