Asks the data source to return the titles for the sections of a table view.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 10.2+
The table-view object requesting this information.
An array of strings that serve as the title of sections in the table view and appear in the index list on the right side of the table view. The table view must be in the plain style (
UITable). For example, for an alphabetized list, you could return an array containing strings “A” through “Z”.