How do I specify values for the accessibility attribute for a menu item when using a custom view?
I am writing a custom view
that I would like to make available. When I don't override
default is returned
), I can see in the Accessibility Inspector that there is a main object in the accessibility hierarchy
for the menu item using a custom view, but the main part of the required attributes for the menu items , such as Title , is missing :
Required attributes are set for menu items that do not use a custom view.
When I override
then this results in an additional accessibility object being added to the hierarchy (object by default
The attribute values returned by the override
are applied to that object
, not to the desired effect on the object itself
How do I specify missing attribute values for a menu item?
source to share
No one has answered this question yet
Check out similar questions: