ruby(at:)
Returns the ruby text at the index position.
Declaration
@nonobjc func ruby(at index: String.Index) -> (AVCaption.Ruby?, Range<String.Index>)Parameters
- index:
A character position in the caption text.
Return Value
A tuple that contains the ruby text and range to which it applies.