You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apidoc/Titanium/UI/TabGroup.yml
+31-12Lines changed: 31 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -243,18 +243,18 @@ methods:
243
243
notes: Use the <Titanium.UI.TabGroup.tabs> property instead.
244
244
245
245
- name: showTabBar
246
-
summary: Shows the tab bar with animation.
246
+
summary: Shows the tab group with animation.
247
247
description: |
248
248
This method also updates iOS 18+ [Elevated Tab Bar on iPad](https://developer.apple.com/documentation/uikit/elevating-your-ipad-app-with-a-tab-bar-and-sidebar).
249
-
To show tab bar without animation, set [tabBarVisible](Titanium.UI.TabGroup.tabBarVisible) property to `false`.
249
+
To show tab group without animation, set [tabBarVisible](Titanium.UI.TabGroup.tabBarVisible) property to `false`.
250
250
platforms: [android, iphone, ipad, macos]
251
251
since: "12.7.0"
252
252
253
253
- name: hideTabBar
254
-
summary: Hides the tab bar with animation.
254
+
summary: Hides the tab group with animation.
255
255
description: |
256
256
This method also updates iOS 18+ [Elevated Tab Bar on iPad](https://developer.apple.com/documentation/uikit/elevating-your-ipad-app-with-a-tab-bar-and-sidebar).
257
-
To hide tab bar without animation, set [tabBarVisible](Titanium.UI.TabGroup.tabBarVisible) property to `true`.
257
+
To hide tab group without animation, set [tabBarVisible](Titanium.UI.TabGroup.tabBarVisible) property to `true`.
258
258
platforms: [android, iphone, ipad, macos]
259
259
since: "12.7.0"
260
260
@@ -307,6 +307,25 @@ properties:
307
307
type: [String, Titanium.UI.Color]
308
308
platforms: [iphone, ipad, android, macos]
309
309
310
+
- name: bottomAccessoryView
311
+
summary: View shown as a bottom accessory attached to the tab group.
312
+
description: |
313
+
Adds a custom view as a bottom accessory of the tab group. Available on iOS 26+ only (uses the new iOS tab group accessories).
314
+
315
+
Note: Label subviews require explicit width and height set to render properly. Be sure to set `width` and `height` on any `Ti.UI.Label` added to this view.
316
+
type: Titanium.UI.View
317
+
osver: {ios: {min: "26.0"}}
318
+
platforms: [iphone, ipad, macos]
319
+
since: "13.0.0"
320
+
321
+
- name: minimizeBehavior
322
+
summary: Defines the minimize behavior for the tab group, if it is supported.
Enables or disables the menu in a BottomNavigation. If disabled you can't change to a different tab.
@@ -534,16 +553,16 @@ properties:
534
553
notes: Deprecated in favor of [Titanium.UI.TabGroup.tintColor](Titanium.UI.TabGroup.tintColor) or alternatively [Titanium.UI.Tab.tintColor](Titanium.UI.Tab.tintColor).
535
554
536
555
- name: tabsTranslucent
537
-
summary: A Boolean value that indicates whether the tab bar is translucent.
556
+
summary: A Boolean value that indicates whether the tab group is translucent.
538
557
description: |
539
558
When the value of this property is `true`, the tab group adds a translucent effect to its background
540
-
image or tint color. When translucency is enabled, part of the tab bar's underlying content is able
541
-
to show through, although the amount that shows through depends on the rest of the tab bar configuration.
559
+
image or tint color. When translucency is enabled, part of the tab group's underlying content is able
560
+
to show through, although the amount that shows through depends on the rest of the tab group configuration.
542
561
For example, a background image can wholly or partially obscure the background content. Setting this
543
-
property to NO causes the tab bar to render its bar tint color or background image on top of an opaque backdrop.
562
+
property to NO causes the tab group to render its bar tint color or background image on top of an opaque backdrop.
544
563
545
-
The default value of this property is dependent on the configuration of the tab bar:
546
-
* The default value is `true` when the tab bar does not have a custom background image.
564
+
The default value of this property is dependent on the configuration of the tab group:
565
+
* The default value is `true` when the tab group does not have a custom background image.
547
566
* The default value is `true` when a custom background image contains any transparency - that is,
548
567
at least one pixel has an alpha value of less than 1.0.
549
568
* The default value is `false` when the custom background image is completely opaque - that is,
@@ -606,7 +625,7 @@ properties:
606
625
notes: Deprecated in favor of [Titanium.UI.TabGroup.tintColor](Titanium.UI.TabGroup.tintColor) or alternatively [Titanium.UI.Tab.tintColor](Titanium.UI.Tab.tintColor).
607
626
608
627
- name: shadowImage
609
-
summary: Image of the shadow placed between the tab bar and the content area.
628
+
summary: Image of the shadow placed between the tab group and the content area.
610
629
description: |
611
630
The <Titanium.UI.TabGroup.tabsBackgroundImage> property must also be set
612
631
in order for this to take effect.
@@ -646,7 +665,7 @@ properties:
646
665
since: { iphone: "3.1.0", ipad: "3.1.0" }
647
666
648
667
- name: tabBarVisible
649
-
summary: Programmatically shows / hides the bottom tab bar of the tab group.
668
+
summary: Programmatically shows / hides the bottom tab group of the tab group.
650
669
description: |
651
670
This method also updates iOS 18+ [Elevated Tab Bar on iPad](https://developer.apple.com/documentation/uikit/elevating-your-ipad-app-with-a-tab-bar-and-sidebar).
652
671
Notes: Animation effect is applied on iOS <= 17, but will be removed in SDK 13.0.0.
0 commit comments