A structure that holds the content of an MMS message.
You can use this structure when sending and receiving MMS messages.
Members (12)
get · iOS 26.0+
recipients
TypeScript
get recipients(): Array<MMSHandle>
Swift declaration
var recipients: [MMSHandle]
The recipients of the MMS message, as an array of MMS handles.
When this array contains any elements, it may imply that the corresponding message is a group MMS.
To determine if the message is a group MMS, inspect the value of the ``from`` property for multiple distinct handles.
For example, if `recipients == [A]` and `from == B`, then the MMS uses a group consisting of `A`, `B`, and the person using the app.
set · iOS 26.0+
recipients
TypeScript
set recipients(value: Array<MMSHandle>)
Swift declaration
var recipients: [MMSHandle]
The recipients of the MMS message, as an array of MMS handles.
When this array contains any elements, it may imply that the corresponding message is a group MMS.
To determine if the message is a group MMS, inspect the value of the ``from`` property for multiple distinct handles.
For example, if `recipients == [A]` and `from == B`, then the MMS uses a group consisting of `A`, `B`, and the person using the app.
get · iOS 26.0+
from
TypeScript
get from(): (MMSHandle) | null
Swift declaration
var from: MMSHandle?
The sender of the MMS message.
The system populates this property for received messages.
Don't populate it when sending a message.
set · iOS 26.0+
from
TypeScript
set from(value: (MMSHandle) | null)
Swift declaration
var from: MMSHandle?
The sender of the MMS message.
The system populates this property for received messages.
Don't populate it when sending a message.
Creates an MMS content instance with the provided values.
- Parameters:
- parts: The parts of the MMS.
- recipients: An array of handles representing the recipients of the message.
- subject: The subject of the MMS. Omit this parameter to leave the subject empty.
get · iOS 26.0+
parts
TypeScript
get parts(): Array<MMSPartContent>
Swift declaration
var parts: [MMSPartContent]
The individual parts of the MMS message.
When sending an MMS, add the individual parts to this array.
When receiving an MMS, inspect this array to receive the MMS parts, in order.
set · iOS 26.0+
parts
TypeScript
set parts(value: Array<MMSPartContent>)
Swift declaration
var parts: [MMSPartContent]
The individual parts of the MMS message.
When sending an MMS, add the individual parts to this array.
When receiving an MMS, inspect this array to receive the MMS parts, in order.
get · iOS 26.0+
headers
TypeScript
get headers(): Record<string, string>
Swift declaration
var headers: [String : String]
Additional headers in a received MMS message, as a key-value dictionary of strings.
Don't populate this dictionary when sending a message.
set · iOS 26.0+
headers
TypeScript
set headers(value: Record<string, string>)
Swift declaration
var headers: [String : String]
Additional headers in a received MMS message, as a key-value dictionary of strings.
Don't populate this dictionary when sending a message.