Мое приложение использует сокращения в заголовках заголовков раздела UITableView
, которые трудно произнести для VoiceOver. Поскольку мне нужно сделать эти заголовки произносимыми VoiceOver, мне нужно указать заголовок заголовка раздела accessibilityLabel
.
Кажется, что единственный способ сделать это - создать пользовательскую секцию заголовка раздела. Я хотел бы подражать стандарту Apple UIKit, предоставленному стилем для этих настраиваемых заголовков разделов, но я не уверен, как эмулировать подробный вид этого элемента Apple.
Каков наилучший подход для имитации стиля заголовка раздела UITableViewStylePlain
?
Обновление: Мне хорошо известно, как создать пользовательскую ячейку заголовка. То, что я ищу, - это метод, который точно имитирует внешний вид стиля ячейки заголовка, предоставленный Apple для явных заголовков секции UITableView.