Contents

localizedValueFormat

A localized string that defines the presentation of the slider’s value.

Declaration

var localizedValueFormat: String? { get set }

Discussion

Specify a format string to modify the presentation of a slider’s value. The format string may only contain %@ and no other placeholders like %d, %s, and so on. Setting an Invalid format string results in the value’s default presentation.

Examples of valid format strings are:

  • “%@%” for “40%”

  • “%@ fps” for “60 fps”

  • “+ %@” for “+ 20”

See Also

Accessing the control value