The positioning scheme for the tab bar items in the tab bar.
- iOS 7.0+
- Mac Catalyst 13.0+
The default value for this property,
UITab, results in the default tab bar item positioning according to the current environment:
In a horizontally compact environment, the tab bar spreads items across the entire space, adjusting inter-item spacing as needed.
In a horizontally regular environment, the tab bar uses the
itemproperties to set the width of items and the spacing between items, positioning those items in the center of the available space. This configuration has the potential to leave space along the left and right edges of the tab bar.
You can force a specific positioning scheme by changing the value of this property to a different value. For a list of possible values, see the constant descriptions for the