How to implement a navigation bar in TableView Controller?

Hey,


I have a really annoying problem:


I want to have a TableView in a Scene with a nagvigation bar on top. The TableView should have Static Cells.


So, I created a TableView Controller Scene but I see no way to implement a NavigationBar. Xcode really does not want me to move it righ there!


Anyone an idea what to do?


Thank you!

Accepted Reply

That's very easy in IB.


Select the tableViewController in IB.

In Editor menu, select Embed in > Navigation Controller


That's it.

Replies

That's very easy in IB.


Select the tableViewController in IB.

In Editor menu, select Embed in > Navigation Controller


That's it.

Well that was really easy. 😅

Thank you!