canSendAttachments
TypeScriptstatic canSendAttachments(): Promise<boolean>Swift declarationclass func canSendAttachments() -> Boolclass · iOS 4.0+ · SDK 27.1
class MFMessageComposeViewControllerstatic canSendAttachments(): Promise<boolean>Swift declarationclass func canSendAttachments() -> Boolstatic canSendSubject(): Promise<boolean>Swift declarationclass func canSendSubject() -> Boolstatic canSendText(): Promise<boolean>Swift declarationclass func canSendText() -> Boolstatic isSupportedAttachmentUTI(uti: string): Promise<boolean>Swift declarationclass func isSupportedAttachmentUTI(_ uti: String) -> BooladdAttachmentData(attachmentData: ArrayBuffer, uti: string, filename: string): Promise<boolean>Swift declarationfunc addAttachmentData(_ attachmentData: Data, typeIdentifier uti: String, filename: String) -> BooladdAttachmentURL(attachmentURL: string, alternateFilename?: (string) | null): Promise<boolean>Swift declarationfunc addAttachmentURL(_ attachmentURL: URL, withAlternateFilename alternateFilename: String?) -> BooldisableUserAttachments(): Promise<void>Swift declarationfunc disableUserAttachments()static init(): Promise<MFMessageComposeViewController>Swift declarationinit()insertCollaborationItemProvider(itemProvider: _Foundation_NSItemProvider): Promise<boolean>Swift declarationfunc insertCollaborationItemProvider(_ itemProvider: NSItemProvider) -> Boolget attachments(): Promise<(Array<NativeMap<unknown, unknown>>) | null>Swift declarationvar attachments: [[AnyHashable : Any]]? { get }get body(): Promise<(string) | null>Swift declarationvar body: String? { get set }setBody(value?: (string) | null): Promise<void>Swift declarationvar body: String? { get set }get messageComposeDelegate(): Promise<(SDKHandle) | null>Swift declarationweak var messageComposeDelegate: (any MFMessageComposeViewControllerDelegate)? { get set }setMessageComposeDelegate(value?: (Implements<MFMessageComposeViewControllerDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var messageComposeDelegate: (any MFMessageComposeViewControllerDelegate)? { get set }get recipients(): Promise<(Array<string>) | null>Swift declarationvar recipients: [String]? { get set }setRecipients(value?: (Array<string>) | null): Promise<void>Swift declarationvar recipients: [String]? { get set }get subject(): Promise<(string) | null>Swift declarationvar subject: String? { get set }setSubject(value?: (string) | null): Promise<void>Swift declarationvar subject: String? { get set }2 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'