Royston Yinkore
Royston Yinkore

Reputation: 591

iOS voice over called on UIButton regardless of accessibility disabled

I have disabled the Accessibility option of a UIButton in the identity inspector but voice over still reads out the text when the item is clicked. What's the problem?

I'm developing for iOS >= 6.1 on Xcode 5

Upvotes: 5

Views: 2703

Answers (1)

Rakitha
Rakitha

Reputation: 904

try

button.accessibilityElementsHidden = YES;

this should works

Upvotes: 10

Related Questions