次の方法で共有


DisplayMode enum

Defines how a menu item should appear in the NavBar.

Fields

ifRoom = 0

Only place this item in the NavBar if there's room for it. If there's no room, item is shown in the overflow menu.

overflowOnly = 1

Never place this item in the NavBar. The item would always be shown in NavBar's overflow menu.