Flutter iOS Embedder
FlutterTextInputViewAccessibilityHider Class Reference
Inheritance diagram for FlutterTextInputViewAccessibilityHider:

Detailed Description

Hides FlutterTextInputView from iOS accessibility system so it does not show up twice, once where it is in the UIView hierarchy, and a second time as part of the SemanticsObject hierarchy.

This prevents the FlutterTextInputView from receiving the focus due to swiping gesture.

There are other cases the FlutterTextInputView may receive focus. One example is during screen changes, the accessibility tree will undergo a dramatic structural update. The Voiceover may decide to focus the FlutterTextInputView that is not involved in the structural update instead. If that happens, the FlutterTextInputView will make a best effort to direct the focus back to the SemanticsObject.

Definition at line 2291 of file FlutterTextInputPlugin.mm.


The documentation for this class was generated from the following file: