---
title: canSendSubject()
framework: messageui
role: symbol
role_heading: Type Method
path: messageui/mfmessagecomposeviewcontroller/cansendsubject()
---

# canSendSubject()

Indicates whether or not messages can include subject lines, according to the user’s configuration in Settings.

## Declaration

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

## Return Value

Return Value true if the device can include subject lines in messages, or false otherwise.

## See Also

### Determining if message composition is available

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