setFontWeight(_:in:)
Sets the font weight for a range of text.
Declaration
@nonobjc func setFontWeight(_ fontWeight: AVCaption.FontWeight, in range: NSRange)Parameters
- fontWeight:
The font weight.
- range:
The range to which this font weight applies.