How to get voice over to read out title when new view controller is pushed?

后端 未结 1 1763
既然无缘
既然无缘 2021-01-18 08:10

In the setting app if I double tap on the \'General\' row. It pushes the the general view controller. It then says

\"General\"

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-18 09:14

    I havent tested it but you might need to check out the accessibilityLabel property of the view. From documentation:

    By default, standard UIKit controls and views have labels that derive from their titles. If you provide a custom control or view, however, you need to set this property appropriately so that assistive applications can supply accurate information to users with disabilities.

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