focusGroupPriority property

int get focusGroupPriority

The priority this item has in its focus group. The higher the priority, the more likely it is to get picked when focus moves into this group. Note: this method can only be used to increase an item's priority, not decrease it. For example if an item is currently selected, the actual priority of this item will be determined by MAX(focusGroupPriority, UIFocusGroupPrioritySelected).

Implementation

int get focusGroupPriority {
  objc.checkOsVersionInternal('UIView.focusGroupPriority', iOS: (false, (15, 0, 0)));
  return _objc_msgSend_1hz7y9r(this.ref.pointer, _sel_focusGroupPriority);
}
set focusGroupPriority (int value)

The priority this item has in its focus group. The higher the priority, the more likely it is to get picked when focus moves into this group. Note: this method can only be used to increase an item's priority, not decrease it. For example if an item is currently selected, the actual priority of this item will be determined by MAX(focusGroupPriority, UIFocusGroupPrioritySelected).

Implementation

set focusGroupPriority(int value) {
  objc.checkOsVersionInternal('UIView.setFocusGroupPriority:', iOS: (false, (15, 0, 0)));
  _objc_msgSend_4sp4xj(this.ref.pointer, _sel_setFocusGroupPriority_, value);
}