UITableView footer not found correctly

I want to keep my floating footer UITableView.

I did it right, but my problem is that the footer does not display everything, I need to scroll it a bit to figure it out. I do not know why.

Please look, the footer just shows the top black, not black:

enter image description here

Where do I have the upper and lower black bars in the interface builderenter image description here

I am adding a footer as follows:

override func tableView(tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
        return self.footerView
    }
+4
source share
4 answers

heightForFooterInSection. , .

, . 20 .

+1

"" , "UITableViewStyle.Plain", "" .

0

. . .

0

. . , , ?

. , tableview. , . .

. fooobar.com/questions/1620228/...

0

Source: https://habr.com/ru/post/1620227/


All Articles