uibutton - iOS accessibility - button focussed -


there 3 buttons in app, when voice on turned on , user swipes right, next button selected.

note - button accessibility focus different button pressed.

reason asking - want app announce "aaa" when button 1 selected , "bbb" when button 1 pressed.

questions

  • how can above achieved ?
  • is there way call method when button selected.

the view (in case button) needs implement protocol uiaccessibilityfocus

- (void)accessibilityelementdidbecomefocused - (void)accessibilityelementdidlosefocus - (bool)accessibilityelementisfocused 

Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -