Skip to content

6p. Cell: StaticText

i_82 edited this page Mar 26, 2018 · 1 revision

StaticText cell simply displays some text with a UITextView called cellTextView inside.

Key Type Description Flags Default
alignment String cellTextView.textAlignment Optional Natural
selectable Boolean cellTextView.selectable Optional true
alignment Description
Left NSTextAlignmentLeft
Center NSTextAlignmentCenter
Right NSTextAlignmentRight
Natural NSTextAlignmentNatural
Justified NSTextAlignmentJustified

label/icon/height are not supported.

Example

{
    "cell": "StaticText",
    "label": "This specifier uses the label key as text content. Dynamic height of this cell is enabled."
}