![]() Touching an item in the index scrolls the table view to the associated section. Entries in the index correspond to section header titles. The index runs down the right edge of the table view. Figure 1-1 A table view in the plain styleĪ variation of plain table views associates an index with sections for quick navigation Figure 1-2 shows an example of this kind of table view, which is called an indexed list. When the user scrolls through a section with many rows, the header of the section floats to the top of the table view and the footer of the section floats to the bottom. (A header or footer may also have a custom view, for instance one containing an image). ![]() A plain table view can have one or more sections, sections can have one or more rows, and each section can have its own header or footer title. Plain Table ViewsĪ table view in the plain (or regular) style displays rows that stretch across the screen and have a creamy white background (see Figure 1-1). The two styles are distinguished mainly by appearance. ![]() ![]() There are two major styles of table views: plain and grouped. It also gives you standard accessory views (that is, controls) that you can include in cells. In addition, the UIKit framework provides standard styles for the cells used to draw the rows of table views. Table views come in distinctive styles that are suitable for specific purposes. Next Previous Table View Styles and Accessory Views
0 Comments
Leave a Reply. |