containsAttachments
A Boolean value that indicates whether the attribute string contains any attachment attributes.
Declaration
var containsAttachments: Bool { get }Return Value
YES if the attributed string contains any attachment attributes, otherwise NO.
Discussion
This method checks only for attachment attributes, not for NSAttachmentCharacter.