BCOVTVTabBarItemView Class Reference

Inherits from UIView
Conforms to BCOVPlaybackSessionConsumer
Declared in BCOVTVTabBarItemView.h

  enabled

When the enabled property is NO, the tab bar item view is not installed into the top tab bar. Use the BCOVTVSettingsView method - (void)enable:(BOOL)enable tabBarItemView:(BCOVTVTabBarItemView *)tabBarItemView to simultaneously toggle the enabled property and update the top tab bar’s list of UITabBarItems.

@property (nonatomic) BOOL enabled

Discussion

When the enabled property is NO, the tab bar item view is not installed into the top tab bar. Use the BCOVTVSettingsView method - (void)enable:(BOOL)enable tabBarItemView:(BCOVTVTabBarItemView *)tabBarItemView to simultaneously toggle the enabled property and update the top tab bar’s list of UITabBarItems.

Declared In

BCOVTVTabBarItemView.h

  title

This property is used to set the name of the corresponding UITabBarItem in the top tab bar. The title should be set before installing the tab bar item views into the Settings view’s topTabBarItemViews property.

@property (nonatomic) NSString *title

Discussion

This property is used to set the name of the corresponding UITabBarItem in the top tab bar. The title should be set before installing the tab bar item views into the Settings view’s topTabBarItemViews property.

Declared In

BCOVTVTabBarItemView.h

  playerView

This property stores a reference to the TV Player view passed to the -initWithFrame:playerView: method.

@property (nonatomic, readonly, weak) BCOVTVPlayerView *playerView

Discussion

This property stores a reference to the TV Player view passed to the -initWithFrame:playerView: method.

Declared In

BCOVTVTabBarItemView.h

– initWithSize:playerView:

  • Initialize the BCOVTVTabBarItemView.
- (instancetype)initWithSize:(CGSize)size playerView:(BCOVTVPlayerView *)playerView

Discussion

  • Initialize the BCOVTVTabBarItemView.

  • @param size Size of the new BCOVTVTabBarItemView. The view will be horizontally centered in the tab bar item container view.

  • @param playerView The TV Player view that will contain your new view.
  • @return The newly created BCOVTVTabBarItemView.

Declared In

BCOVTVTabBarItemView.h

– tabBarItemViewDidAdvanceToPlaybackSession:

Method called when a new session is delivered from the playback controller. Override this method to retrieve information about your video and populate your user interface.

- (void)tabBarItemViewDidAdvanceToPlaybackSession:(id<BCOVPlaybackSession>)session

Discussion

Method called when a new session is delivered from the playback controller. Override this method to retrieve information about your video and populate your user interface.

Declared In

BCOVTVTabBarItemView.h

– tabBarItemViewWillAppear:

Notifies the view that it is about to be added to a view hierarchy.

- (void)tabBarItemViewWillAppear:(BOOL)animated

Discussion

Notifies the view that it is about to be added to a view hierarchy.

Declared In

BCOVTVTabBarItemView.h

– tabBarItemViewDidAppear:

Notifies the view that it was added to a view hierarchy.

- (void)tabBarItemViewDidAppear:(BOOL)animated

Discussion

Notifies the view that it was added to a view hierarchy.

Declared In

BCOVTVTabBarItemView.h

– tabBarItemViewWillDisappear:

Notifies the view that it is about to be removed from a view hierarchy.

- (void)tabBarItemViewWillDisappear:(BOOL)animated

Discussion

Notifies the view that it is about to be removed from a view hierarchy.

Declared In

BCOVTVTabBarItemView.h

– tabBarItemViewDidDisappear:

Notifies the view that it was removed from a view hierarchy.

- (void)tabBarItemViewDidDisappear:(BOOL)animated

Discussion

Notifies the view that it was removed from a view hierarchy.

Declared In

BCOVTVTabBarItemView.h

– updateForDarkMode:

Called when the trait collection changes which might have changed the system Appearance or Theme setting.

- (void)updateForDarkMode:(BOOL)usingDarkMode

Discussion

Called when the trait collection changes which might have changed the system Appearance or Theme setting.

Declared In

BCOVTVTabBarItemView.h