updateFocusIfNeeded method

void updateFocusIfNeeded()

Forces focus to be updated immediately. If there is an environment that has requested a focus update via -setNeedsFocusUpdate, and the request was accepted, then focus will be updated to that environment or one of its preferred focus environments. NOTE: If you provide your own implementation, it must call [[UIFocusSystem focusSystemForEnvironment:self] updateFocusIfNeeded];.

Implementation

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