focusGroupPriority
The importance of the item within a focus group, used by the focus system to determine the group’s primary item.
Declaration
var focusGroupPriority: UIFocusGroupPriority { get set }Discussion
The system automatically assigns each focusable item in a focus group one of the predefined system priorities. The visible item with the highest priority is the group’s primary item.
You can override the default priority of an item to customize the primary item of a group. When setting a custom priority, you can only increase the item’s priority above its system-provided value, not decrease it. The system-provided priority is always the minimum priority applied for the item. The system ignores any priority lower than 0.