IOS voted for UIButton regardless of availability

I disabled the UIButton Availability option in the Identity Inspector, but the voice still reads the text when the element is clicked. What is the problem?

I am developing for iOS> = 6.1 on Xcode 5

+4
source share
1 answer

to try

button.accessibilityElementsHidden = YES;

it should work

+7
source

Source: https://habr.com/ru/post/1525459/


All Articles