I am trying to build a UITableView Controller, which will be my app's ABOUT information session.
At the bottom of the view, it will be reserved as circle menu. So I need a UIView with height of 200 there, when I drag a UIView to the controller, it always sit as a table cell.
As you can see, the red area always sit under the last table cell group, how to pin it on the bottom of the View Controller.
Thanks in advance.
Get UIView controller and put tableview instead of UITableViewController. From side inspector drop UIView out of tqbleview. And in inspector menu for UIView set auto resizing mask for UIView according.
You can't add a UIView
at the bottom of the UITableViewController
. If that is a hard requirement you have to switch to UIViewController
. And then you can use UITableView
and other UIView
's as well.
If you are using a navigation controller with UITableViewController
then you can use UIToolBar
which sticks at the bottom of view controller but have some limitations too. See this
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.