One Logo Pool Ball
App Services · IOS API REFERENCE

MessageUI

Create a user interface for composing email and text messages, so users can edit and send messages without leaving your app.

15 types

55 callable entries

5 skipped

92% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

Functions and constants

get · iOS 3.0+

MFMailComposeErrorDomain

TypeScript
const MFMailComposeErrorDomain: string
Swift declaration
let MFMailComposeErrorDomain: String
get

MFMessageComposeViewControllerAttachmentAlternateFilename

TypeScript
const MFMessageComposeViewControllerAttachmentAlternateFilename: string
Swift declaration
let MFMessageComposeViewControllerAttachmentAlternateFilename: String
get

MFMessageComposeViewControllerAttachmentURL

TypeScript
const MFMessageComposeViewControllerAttachmentURL: string
Swift declaration
let MFMessageComposeViewControllerAttachmentURL: String
get · iOS 5.0+

MFMessageComposeViewControllerTextMessageAvailabilityDidChange

TypeScript
get MFMessageComposeViewControllerTextMessageAvailabilityDidChange(): _Foundation_NSNotification_Name
Swift declaration
static let MFMessageComposeViewControllerTextMessageAvailabilityDidChange: NSNotification.Name
get · iOS 5.0+

MFMessageComposeViewControllerTextMessageAvailabilityKey

TypeScript
const MFMessageComposeViewControllerTextMessageAvailabilityKey: string
Swift declaration
let MFMessageComposeViewControllerTextMessageAvailabilityKey: String

Skipped declarations

5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MFMessageComposeViewController.message

The iOS SDK compiler rejected this binding: reference to member 'message' cannot be resolved without a contextual type

MFMessageComposeViewController.message

The iOS SDK compiler rejected this binding: value of type 'MFMessageComposeViewController' has no member 'message'

NotificationCenter.MessageIdentifier.textMessageAvailabilityDidChange

Static protocol requirements cannot be called through an instance.

MFMailDraft.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

MFComposeAssistantViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)