uitableview - change position and layout of table view and table view cell for iOS app in Swift -
I have created Table View Controller with a table view cell for my iOS app with Storyboard in Xcode 6. I have an image and a label in the cell, at the top of the view controller, I should have a title and I have a tab bar at the bottom. This is my setup.
But now I want to change the position and layout of the table view and legacy cells, by default they cover the whole screen. The table view should start below the top and the tab should end above the bar. At present, the contents of the cell are displayed under the title and tab bar. Is it possible to determine the position of the table view and / or cell? And I also want to change the layout of cells. I have to be somewhere between two cells and one corner radius.
THX!
This is an old "problem" if you use UITableViewController
If you want to use, the table view will cover the whole screen; UIViewController
's view
will be the property table view
if you have a table on the screen You want to use UIViewController
for visual and and other views and view
: two titles and title view in the table.
Do the following (which is the UITableViewController
done for you):
- Add the table view as an Iver;
- Contains the class to
UITableViewDelegate
andUITableViewDataSource
and - set it to
delegate data source
Comments
Post a Comment