How can I make a UITableView with big header VoiceOver compatible?

前端 未结 1 851
太阳男子
太阳男子 2021-01-06 22:42

My app has a table view with a large, blank tableHeaderView allowing to scroll the visible cells completely out of the window (to the bottom). So a contentOffset of {0,0} me

相关标签:
1条回答
  • 2021-01-06 23:08

    If there is no accessible content in the empty header, consider setting the content offset programmatically upon load in the event that UIAccessibilityIsVoiceOverRunning(). You will also want to monitor for UIAccessibilityVoiceOverStatusChanged and do the same.

    0 讨论(0)
提交回复
热议问题