DEV Community

Avelyn Hyunjeong Choi
Avelyn Hyunjeong Choi

Posted on

How to add navigation controller in Xcode

1.select the view controller you want navigation controller to embed
Image description

2.select editor > embed in > navigation controller
Image description

3.Now, root view controller of navigation controller is firstVC.
my application now will start at this navigation controller -> boot up firstVC.
Image description

Note: navigation controller is just a container.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more