Contents

sectionCount

The number of sections in the list.

Declaration

var sectionCount: Int { get }

Discussion

This value never exceeds maximumSectionCount. If you initialize a list, or call the updateSections(_:) method, with an array larger than maximumSectionCount, CarPlay trims the array to an appropriate size.

See Also

Managing Sections