---
title: contentType
framework: TelephonyMessagingKit
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+]
path: telephonymessagingkit/mmspartcontent/contenttype
---

# contentType

The content type of the part, as a Uniform Type Identifier.

## Declaration

```swift
var contentType: UTType?
```

## Discussion

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

- [data](telephonymessagingkit/mmspartcontent/data.md)
- [disposition](telephonymessagingkit/mmspartcontent/disposition.md)
- [MMSPartContent.MMSDispositionType](telephonymessagingkit/mmspartcontent/mmsdispositiontype.md)
- [filename](telephonymessagingkit/mmspartcontent/filename.md)
- [contentID](telephonymessagingkit/mmspartcontent/contentid.md)
- [UTType](uniformtypeidentifiers/uttype-swift.struct.md)
