BlazeMomentsPlayerBodyTextStyle - iOS
The BlazeMomentsPlayerBodyTextStyle struct represents the style used for a moment's expandable body text.
Properties
font
var font: UIFontThe font of the text.
textColor
var textColor: UIColorThe color of the text.
isVisible
var isVisible: BoolIndicates whether the text should be visible.
fontVerticalPadding
var fontVerticalPadding: CGFloatAdditional 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.ContentSourceA type that determines which field will be displayed in the moment's header text.
ContentSource
| Value | Description |
|---|---|
title | Body text will display title field. This is the default. |
subtitle | Body text will display subtitle field |
description | Body text will display description field |
Updated 11 days ago
Did this page help you?
