contentType
The content type of the part, as a Uniform Type Identifier.
Declaration
var contentType: UTType?Discussion
Most MMS clients support the following content types:
text/x-vcalendartext/vcalendartext/x-calendartext/calendartext/x-vlocationtext/x-locationtext/x-vcardtext/vcardtext/plainimage/jpgimage/bmpimage/x-bmpimage/pngimage/gifaudio/x-aacaudio/aacvideo/3gpvideo/3gp
You can also use custom content types, such as a UTType based on a custom MIME type.