In the setting app if I double tap on the 'General' row. It pushes the the general view controller. It then says
"General"
(The name of the current view controller)
Then
"Settings, back button"
(The name of the selected item)
However in my app with a custom self.navigaitonItem.titleView
it only says
"Home, Back Button"
How do I get it to read out the name of the screen? (I tired to set self.title
)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With