ios - Making UITextfield accessible in a Customised UITableViewCell -


i have uitextfield subview of uitableviewcell. have customised uitableviewcell, define uitextfield property. in customised class, override uiaccessibilitycontainer protocol methods.

however unable set textfields in test script. may because uiatablecell recognises its' children uiaelements , not uiatextfields. unable perform use element receiver method setvalue.

enter image description here

it seems trait setting modulates how uiatablecell recognises its' children. apple docs, uitextfield best described having either uiaccessibilitytraitallowsdirectinteraction or uiaccessibilitytraitadjustable. neither of these help.

as far can tell, have set visibility hierachy correctly.

   [self.contentview addsubview:self.atextfield];     (uiview *eachview in self.subviews) {         [eachview  setisaccessibilityelement:no];      }      [ self.atextfield setisaccessibilityelement:yes];     [ self.atextfield setaccessibilitylabel:@"textfieldoncell"];     [self.contentview setaccessibilityelementshidden:no]; 

have missed step in making uitextfield accessible in customised uitableviewcell ? appreciated.

we noticed problem , worked around in illuminator.

the basic idea tap parent element (which should force keyboard appear) use keyboard type desired string.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -