From the docs:
A plain-style table view is an unbroken list; a grouped table view has visually distinct sections.
So in plain style, I can't have any sections? Or if I had some, they could not be visually distinct? Is that right?
From the docs:
A plain-style table view is an unbroken list; a grouped table view has visually distinct sections.
So in plain style, I can't have any sections? Or if I had some, they could not be visually distinct? Is that right?
'Plain' can indeed have sections; the address book is a good example.
I'm not at my development machine, so can't grab a code example this minute. The mechanism to achieve this can differ depending on your method of providing data to your UITableView.
Will post examples later if no one else beats me to it.
EDIT: I can't add a comment to Matt's answer, so will add it here. The thin blue line is the default implementation, you can provide your own custom views using the delegate:
A plain style table view can have sections, but they are divided only by a thin blue heading with the section name. If you look at this image you can compare the different styles. The left image is a plain table view without sections and the middle image is a plain view with sections. The 'A' heading denotes a section called A.
Yups, definitely they can have sections and the sections are separated by headers. For refernce please see the contacts application in iPhone device/simulator with some contacts added.
A plain-style table view is an unbroken list; a grouped table view has visually distinct sections.
This line means in the grouped style table the sections are separated by some blank space but not in plain style tables