问题
I need to add a Toolbar with a button in it at the bottom of my UITableView. I see lots of websites saying that using a UINavigationController is the way, but Is there any option that allows me to do this just within the UITableViewController?
回答1:
Yes, select your UITableViewController in your Storyboard and go to Editor-Embed in-Navigation Controller
Then select your newly-created NavigationController and in its Attributes Inspector check "Shows Toolbar"
来源:https://stackoverflow.com/questions/15136123/how-to-add-a-toolbar-to-uitableviewcontroller