Skip to content

iOSTabBar

iOS TabBar.

Extends iOSObject

Behavior Pattern: iOSObjectTabBarBehavior

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount
SelectedTab Selected tab name. GetSelectedTab
TabName Name of the tab at index GetTabName

Action Summary

Action Description
DoSelectTab Selects the tab by name or index.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

value = SeS('SomeiOSTabBar').GetItemCount()

SelectedTab

Selected tab name.

Type: string

Accessors: GetSelectedTab

value = SeS('SomeiOSTabBar').GetSelectedTab()

TabName

Name of the tab at index

Getter Parameters:

Name Type Description
index number Index of the tab.

Type: string

Accessors: GetTabName

value = SeS('SomeiOSTabBar').GetTabName(index)

Action Detail

DoSelectTab

Selects the tab by name or index.

SeS('SomeiOSTabBar').DoSelectTab(tabNameIndex)

Parameters:

Name Type Description
tabNameIndex string | number Tab name or index.

Returns:

boolean: 'true' if success, 'false' otherwise.