Instance Property

fileType

Defines the file type of the contents for the text attachment.

Declaration

iOS, Mac Catalyst, tvOS
@property(copy, nonatomic) NSString *fileType;
macOS
@property(copy) NSString *fileType;

Discussion

Modifying this property has the side effect of invalidating the image property.

See Also

Defining the Contents

bounds

Defines the layout bounds of the receiver's graphical representation in the text coordinate system.

contents

Defines the contents for the text attachment.

image

Image representing the text attachment contents.

fileWrapper

The receiver’s file wrapper.