Leang Socheat
Leang Socheat

Reputation: 1174

Section Header of UITableview not pin at the top when scroll up - Swift

Normally, When I create table with style grouped, there are no any problem with section header. when I scroll up, the section header always stay at the top even when scroll pass it. I create one sample tableview using group style, section header not stay at the top when I scroll up like before. maybe do I miss some properties?.

Upvotes: 1

Views: 2315

Answers (1)

Dharmesh Kheni
Dharmesh Kheni

Reputation: 71854

Make sure style is set to Plain not Grouped.

Check below image:

enter image description here

Upvotes: 2

Related Questions