UITableView showing more rows than specified in numberOfRowsInSection:

后端 未结 9 1082
谎友^
谎友^ 2021-02-01 03:32

I want my tableView to show 6 rows with text in it, in this case \"Example.\" As far as I can tell, I have my numberOfSectionsInTableView: and numberOfRowsIn

9条回答
  •  后悔当初
    2021-02-01 03:53

    If you're referring to the light gray lines that appear below the last row, that's simply the default way a UITableView draws the row separator.

    You could try changing the Separator style in Interface Builder (see the images below) to see if one of those might be more to your liking.

    enter image description here enter image description here

提交回复
热议问题