BCOVPUIButton Class Reference

Inherits from UIButton
Declared in BCOVPUIButton.h

Overview

A subclass of UIButton that contains two titles, a primary and a secondary title. This is used for buttons that change titles when they toggle between two different states, like the play/pause button.

  primaryTitle

The primary title is the default title; e.g. the “play” icon for the play button.

@property (nonatomic, copy, readwrite) NSString *primaryTitle

Discussion

The primary title is the default title; e.g. the “play” icon for the play button.

Declared In

BCOVPUIButton.h

  secondaryTitle

The secondary title is the alternate title; e.g. “pause” for the play button.

@property (nonatomic, copy, readwrite) NSString *secondaryTitle

Discussion

The secondary title is the alternate title; e.g. “pause” for the play button.

Declared In

BCOVPUIButton.h

– showPrimaryTitle:

Show the primary or secondary button title text.

- (void)showPrimaryTitle:(BOOL)primary

Parameters

primary

YES displays the primary button title; otherwise the secondary title.

Discussion

Show the primary or secondary button title text.

Declared In

BCOVPUIButton.h

  accessibilityDelegate

@property (nonatomic, weak) id<BCOVPUIButtonAccessibilityDelegate> accessibilityDelegate