setNeedsFocusUpdate method

void setNeedsFocusUpdate()

Marks this environment as needing a focus update, which if accepted will attempt to reset focus to this environment, or one of its preferred focus environments, on the next update cycle. If this environment does not currently contain the focused item, then calling this method has no effect. If a parent of this environment is also requesting focus, then this environment's request is rejected in favor of the parent's. NOTE: If you provide your own implementation, it must call [[UIFocusSystem focusSystemForEnvironment:self] requestFocusUpdateToEnvironment:self];

Implementation

void setNeedsFocusUpdate() {
  objc.checkOsVersionInternal('UIViewController.setNeedsFocusUpdate', iOS: (false, (9, 0, 0)));
  _objc_msgSend_1pl9qdv(this.ref.pointer, _sel_setNeedsFocusUpdate);
}