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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay