Returns a Boolean value that indicates if the attributed string contains a property configured in the specified range.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Frameworks
- UIKit
- App
Kit
Declaration
- (BOOL)containsAttachmentsInRange:(NSRange)range;
Parameters
range
The range.
Return Value
YES
if the attributed string contains a property configured as NSAttachment
with NSAttachment
in range
; otherwise, NO
.