invalidateTextEntryContext(for:)
Tells the system the text entry context has changed and that text entry UI’s need to be refreshed.
Declaration
func invalidateTextEntryContext(for textInput: any BETextInput)Discussion
This is a costly operation and should only used with intention. For example, when switching focus between different elements.