Contents

containsAttachments(in:)

Returns a Boolean value that indicates if the attributed string contains an attachment in the specified range.

Declaration

func containsAttachments(in range: NSRange) -> Bool

Parameters

  • range:

    The range.

Return Value

true if the attributed string contains a property configured as attachment with character in range; otherwise, false.

See Also

Getting metrics for the string