You will need to make your own implementation in cellForRowAtIndexPath, where you will return a string that really consists of several rows and possibly a title label. Or maybe itβs better to make each line a βtitle lineβ and check cellForRowAtIndexPath whether you are in the title line or a regular line; something like that:
if (indexPath.row == 0) { // return header row } else { // return normal row }
and, of course, in numberOfRowsInSection you will need to return the normal number of rows + 1 for sections with a header.
vakio source share