BlazeStoryPlayerStyle - iOS
The BlazeStoryPlayerStyle struct represents the appearance and style configuration for a story.
Properties
title
var title: BlazeStoryPlayerTitleTextStyleThe title style for the story.
lastUpdate
var lastUpdate: BlazeStoryPlayerLastUpdateTextStyleThe last update style for the story.
buttons
var buttons: BlazeStoryPlayerButtonsStyleThe buttons style for the story.
chips
var chips: BlazeStoryPlayerChipsStyleThe chips style for the story.
backgroundColor
var backgroundColor: UIColorThe background color of the story player's view.
cta
var cta: BlazeStoryPlayerCtaStyleThe CTA (Call to Action) button style for the story.
headerGradient
var headerGradient: BlazeStoryPlayerHeaderGradientStyleThe header gradient style over the story's view.
firstTimeSlide
var firstTimeSlide: BlazeStoryPlayerFirstTimeSlideStyleThe style configuration for the first-time slide screen.
progressBar
var progressBar: BlazeStoryPlayerProgressBarStyleThe progress bar style configuration for the story player.
captions
var captions: BlazeCaptionsStyleThe 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 = .uppercaseUpdated 11 days ago
