Reputation: 1168
I am new in the topic of accessibility and have a problem with the voice over function of iOS.
I have a very simple UIViewController with an UITextField in it (see Screenshot). The problem is that when I start editing the textfield (the keyboard is opening after I double tap the textfield) and trying to tap on the keyboard, in order to hear/write the characters, the voice over function makes the sound, which is indicating that there is nothing. So I am not able to type in any characters, because the voice over function doesn't recognise the keyboard. When I am editing the textfield without voice over, it works fine and I'm able to use the keyboard.
I have installed a UITapGestureRecogniser, which is initialized in the textFieldDidBeginEditing function and removed in the textFieldDidEndEditing function:
- (void)textFieldDidBeginEditing:(UITextField *)textField
{
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(MyHideKeyboard)];
tap.cancelsTouchesInView = NO;
[self.view addGestureRecognizer: tap];
}
- (void)textFieldDidEndEditing:(UITextField *)textField
{
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(MyHideKeyboard)];
tap.cancelsTouchesInView = NO;
[self.view removeGestureRecognizer: tap];
}
But also with disabling it, it doesn't work. Moreover there is not different when I am switching the UIKeyboardType from URL (standard) to any other one. All in all I am not accessing the textfield property in another way than _textfield.text, so I can exclude programmatically changes.
Hope someone can help!
Upvotes: 1
Views: 946
Reputation: 291
This issue might occur if you're using a custom keyboard without accessibility support.
Upvotes: 0