GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeStoryPlayerStyle - iOS

The BlazeStoryPlayerStyle struct represents the appearance and style configuration for a story.

Properties

title

var title: BlazeStoryPlayerTitleTextStyle

The title style for the story.

lastUpdate

var lastUpdate: BlazeStoryPlayerLastUpdateTextStyle

The last update style for the story.

buttons

var buttons: BlazeStoryPlayerButtonsStyle

The buttons style for the story.

chips

var chips: BlazeStoryPlayerChipsStyle

The chips style for the story.

backgroundColor

var backgroundColor: UIColor

The background color of the story player's view.

cta

var cta: BlazeStoryPlayerCtaStyle

The CTA (Call to Action) button style for the story.

headerGradient

var headerGradient: BlazeStoryPlayerHeaderGradientStyle

The header gradient style over the story's view.

firstTimeSlide

var firstTimeSlide: BlazeStoryPlayerFirstTimeSlideStyle

The style configuration for the first-time slide screen.

progressBar

var progressBar: BlazeStoryPlayerProgressBarStyle

The progress bar style configuration for the story player.

captions

var captions: BlazeCaptionsStyle

The closed-captions style configuration for the story player. Controls the caption font and the position of the captions box within the player. See BlazeCaptionsStyle.

Usage

Start with a preset - BlazeStoryPlayerStyle.base() and override the necessary properties.

Example

var storyPlayerStyle = BlazeStoryPlayerStyle.base()
storyPlayerStyle.lastUpdate.textCase = .uppercase

Did this page help you?