Add title to table in swift
3 answers
This is not how the header works in the table view. You can create a title for an entire table (as opposed to a section title) using the property tableHeaderView
; but if you want to have a widget that is always displayed on the screen, you are better off creating another view controller to which you add the table as a child.
+4
source to share