---
title: canSendAttachments()
framework: messageui
role: symbol
role_heading: Type Method
path: messageui/mfmessagecomposeviewcontroller/cansendattachments()
---

# canSendAttachments()

Indicates whether or not messages can include attachments.

## Declaration

```swift
class func canSendAttachments() -> Bool
```

## Return Value

Return Value true if the device can send attachments in MMS or iMessage messages, or false otherwise.

## See Also

### Determining if message composition is available

- [canSendText()](messageui/mfmessagecomposeviewcontroller/cansendtext().md)
- [canSendSubject()](messageui/mfmessagecomposeviewcontroller/cansendsubject().md)
- [isSupportedAttachmentUTI(_:)](messageui/mfmessagecomposeviewcontroller/issupportedattachmentuti(_:).md)
