parentFocusEnvironment property

UIFocusEnvironment? get parentFocusEnvironment

The parent focus environment of this environment, or nil if no parent exists. NOTE: If you implement this method, you must return a non-nil value for parent focus environment, otherwise your focus environment will not participate in focus interactions.

Implementation

UIFocusEnvironment? get parentFocusEnvironment {
  objc.checkOsVersionInternal('UIViewController.parentFocusEnvironment', iOS: (false, (12, 0, 0)));
  final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_parentFocusEnvironment);
  return $ret.address == 0 ? null : UIFocusEnvironment.fromPointer($ret, retain: true, release: true);
}