What I mean is a static "top-bar" that I can edit from the relevant swift file.
I don't actually want any of the navigation function, but I want to be able to change what it says situationally.
I've looked around quite a bit but can't seem to find a solution for this seemingly simple task.
Thanks in advance.
Best How To :
So it was a pretty easy, but not straightforward solution...
All I had to do was
- Add a navigation bar, by clicking Editor -> Embed in -> Navigation Controller
- The hard to find part, use the property
self.navigationItem.title = "title" to change the title.
The second part I found from hgwhittle's answer in this question, which also covers how to change the nav bar title, the tab bar title, or both.
UIViewController Title attribute in Storyboard