Embedding a UITableView as a container view within a UIViewController
问题 I would like to add a textfield and send button that sticks to the bottom of uitableview similar to a chat app. I have come across comments on embedding a UITableView as a container view within a UIViewController. However, they seem to lack an example on how to achieve this. More specifically details including where to add a textfield/button and move textfield up when keyboard appears, etc. Thanks! 回答1: follow the steps using the storyboard 1) drag a uiviewcontroller from the object library.