Contents

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-vcalendar

  • text/vcalendar

  • text/x-calendar

  • text/calendar

  • text/x-vlocation

  • text/x-location

  • text/x-vcard

  • text/vcard

  • text/plain

  • image/jpg

  • image/bmp

  • image/x-bmp

  • image/png

  • image/gif

  • audio/x-aac

  • audio/aac

  • video/3gp

  • video/3gp

You can also use custom content types, such as a UTType based on a custom MIME type.

See Also

Accessing part properties