iOSTabBar

From Xojo Documentation

Revision as of 20:38, 10 August 2018 by PLefebvre (talk | contribs) (Created page with "{{ClassBox | super=Object | project=Mobile | target=iOS | scope=global }} {{Description | text=An iOS TabBar.}} <dynamictable id="Methods" class="methodTable" title="Meth...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

An iOS TabBar.

Methods
AddTab

Notes

You set up a tab bar using the Inspector to change the Content property for a Screen. Refer to Getting Started with iOS for information on how to do this. From the Apple User Interface Guidelines, a tab bar:

  • Is translucent
  • Always appears at the bottom edge of the screen
  • Displays no more than five tabs at one time in a horizontally compact environment (if there are more tabs, the tab bar displays four of them and adds the More tab, which reveals the additional tabs in a list)
  • Maintains the same height in all orientations
  • Can display a badge on a tab to communicate app-specific information (a badge is a red oval containing white text and either a number or exclamation point)

Regardless of the icon's visual style, create a tab bar icon in the following sizes: About 50 x 50 pixels (96 x 64 pixels maximum). Don't include text in a custom tab bar icon.

See Also

iOSScreen, iOSTabContent, iOSView