Type Property


A key indicating the pitch to apply to spoken content.


static let accessibilitySpeechPitch: NSAttributedString.Key


The value of this key is an NSNumber object containing a floating-point value in the range 0.0 to 2.0. The value indicates whether the text should be specified spoken with a higher or lower pitch than is used for the default. The default value for this attribute is 1.0, which indicates a normal pitch. Values between 0.0 and 1.0 result in a lower pitch and values between 1.0 and 2.0 result in a higher pitch.