GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeMomentsPlayerBodyTextStyle - iOS

The BlazeMomentsPlayerBodyTextStyle struct represents the style used for a moment's expandable body text.

Properties

font

var font: UIFont

The font of the text.

textColor

var textColor: UIColor

The color of the text.

isVisible

var isVisible: Bool

Indicates whether the text should be visible.

fontVerticalPadding

var fontVerticalPadding: CGFloat

Additional vertical padding added to the font's line height to prevent clipping, especially when rendering emoji or other tall glyphs in custom fonts. Set to 0 by default. Use this property when your font does not reserve enough vertical space internally.

contentSource

var contentSource: BlazeMomentsPlayerBodyTextStyle.ContentSource

A type that determines which field will be displayed in the moment's header text.

ContentSource

ValueDescription
titleBody text will display title field. This is the default.
subtitleBody text will display subtitle field
descriptionBody text will display description field

Did this page help you?