sorry if the title is somewhat misleading.
I have an app with a main view and behind that a slide out menu with a tableView, like the Facebook app.
What I want to accomplish is to have something like a tool bar or a imageView or anything that can either display an image or have a imageview and lable on top of it.
But I want it to be on the top of all the tableViewCells and when you scroll up the cells disappears beneath the "toolbar".
Sorry if the question is a bit unclear but feel free to edit. Thanks.
I suggest that,you should not add the navigation bar yourself.
Interface builder will do that automatically when a scene is embedded into a navigation controller or part of the navigation stack.
So if your tableview is the root controller choose your scene and then go to:
Editor > Embed in > Navigation Controller
Otherwise the navigation bar will be added automatically when you connect a segue from another controller (that is part of the stack) to your tableview controller.
Hope it helps you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.