In iOS, what do you call that element that attaches to the top of the screen when you scroll past it in a list (think the single letters in the Contact List). This is driving me nuts.
Asked
Active
Viewed 463 times
2 Answers
1
i'm not sure this is even a full question, but the answer is 'section'. If you're table style is plain, the section title will behave like the A-Z in the iPhone contacts screen
http://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableViewController_Class/Reference/Reference.html

Blitz
- 5,521
- 3
- 35
- 53
-
Yeah, I'm sorry for the vagueness of the question, but I really have no idea how to even ask what this thing is. – dclowd9901 Dec 16 '10 at 23:15
-
1I hope i could at least help a bit :) – Blitz Dec 16 '10 at 23:17
0
It is the section header of a UITableView. Its appearance depends on the tableview style. Like in the contacts app, like header stay at the top of the section unless the top of the section is off the screen and there are rows in the section which are still visible.
Like in the settings app the header just appears as text on the striped background and scrolls with the table view no matter what. It doesn't ever get attached to the top.