Instance Method

updateFocusIfNeeded()

Tells the focus engine to force a focus update immediately.

Required.

Declaration

func updateFocusIfNeeded()

Discussion

If any focus environment is currently pending an update (after calling setNeedsFocusUpdate()), then calling this method forces the focus engine to immediately update focus. Unlike setNeedsFocusUpdate(), it does not matter if this environment currently contains focus, or if this environment is the one pending an update.

See Also

Requesting Focus Update

func setNeedsFocusUpdate()

Submits a request to the focus engine for a focus update in this environment.

Required.