SystemUiApi
@objc(BMPSystemUiApi)
public protocol SystemUiApi
The SystemUiApi for interactions regarding the system UI. Using this API just has an effect if userInterfaceType
in StyleConfig is set to .system. This is the default value on tvOS, on iOS it has to be set specifically.
-
An array of actions and menus to display with the default player controls. Contains the currently displayed items. Items can be added and removed dynamically at any time.
The initial state can be configured using
SystemUserInterfaceConfig.transportBarCustomMenuItemsUse this property to display custom pop-up menus in transport bar. This property only supports menu elements of type
UIActionandUIMenu, and supports displaying inline one level of submenus.Declaration
Swift
@available(tvOS 15.0, iOS 13.0, *) @available(iOS, unavailable) var transportBarCustomMenuItems: [UIMenuElement] { get set }
SystemUiApi Protocol Reference