Creates an attributed string with an attachment.
- iOS 7.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
An attributed string containing the attachment.
This is a convenience method for creating an attributed string containing an attachment using
NSAttachment as the base character.