Class MFMessageComposeViewController

All Implemented Interfaces:
NSCoding, NSExtensionRequestHandling, NSObjectProtocol, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIStateRestoring, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

public class MFMessageComposeViewController
extends UINavigationController
  • Constructor Details

    • MFMessageComposeViewController

      public MFMessageComposeViewController()
    • MFMessageComposeViewController

      protected MFMessageComposeViewController​(NSObject.Handle h, long handle)
    • MFMessageComposeViewController

      protected MFMessageComposeViewController​(NSObject.SkipInit skipInit)
    • MFMessageComposeViewController

      public MFMessageComposeViewController​(Class<? extends UINavigationBar> navigationBarClass, Class<? extends UIToolbar> toolbarClass)
    • MFMessageComposeViewController

      public MFMessageComposeViewController​(UIViewController rootViewController)
    • MFMessageComposeViewController

      public MFMessageComposeViewController​(String nibNameOrNil, NSBundle nibBundleOrNil)
    • MFMessageComposeViewController

      public MFMessageComposeViewController​(NSCoder coder)
  • Method Details

    • getMessageComposeDelegate

      public MFMessageComposeViewControllerDelegate getMessageComposeDelegate()
    • setMessageComposeDelegate

      public void setMessageComposeDelegate​(MFMessageComposeViewControllerDelegate v)
    • getRecipients

      public List<String> getRecipients()
    • setRecipients

      public void setRecipients​(List<String> v)
    • getBody

      public String getBody()
    • setBody

      public void setBody​(String v)
    • getSubject

      public String getSubject()
    • setSubject

      public void setSubject​(String v)
    • getAttachments

    • getMessage

      public MSMessage getMessage()
      Since:
      Available in iOS 10.0 and later.
    • setMessage

      public void setMessage​(MSMessage v)
      Since:
      Available in iOS 10.0 and later.
    • TextMessageAvailabilityDidChangeNotification

      public static NSString TextMessageAvailabilityDidChangeNotification()
    • TextMessageAvailabilityKey

      protected static NSString TextMessageAvailabilityKey()
    • disableUserAttachments

      public void disableUserAttachments()
    • addAttachment

      public boolean addAttachment​(NSURL attachmentURL, String alternateFilename)
    • addAttachment

      public boolean addAttachment​(NSData attachmentData, String uti, String filename)
    • canSendText

      public static boolean canSendText()
    • canSendSubject

      public static boolean canSendSubject()
    • canSendAttachments

      public static boolean canSendAttachments()
    • isSupportedAttachmentUTI

      public static boolean isSupportedAttachmentUTI​(String uti)