how to make the section header float in UITableView ..
I want to make the section headers of the UITableView float i.e. the section headers should be visible as long as the rows of the sections are visible.
Can anyone kindly let me know how to do that ?
Thanks.
Just change your UITableView's style to UITableViewStylePlain.
You could do this either from the StoryBoard / NIB or via code.
Floating section headers are the default style of UITableView (plain) in iOS.
精彩评论