public class MFMessageComposeViewController extends UINavigationController
Constructor and Description |
---|
MFMessageComposeViewController() |
Modifier and Type | Method and Description |
---|---|
String |
body()
Returns the text-body of the message.
|
static boolean |
canSendText()
Returns a Boolean that shows whether the device supports text messages
sending.
|
MFMessageComposeViewControllerDelegate |
messageComposeDelegate()
Returns the delegate of this MFMessageComposeViewController.
|
List<String> |
recipients()
Returns a list with the recipients of the message.
|
void |
setBody(String body)
Sets the text-body of the message.
|
void |
setMessageComposeDelegate(MFMessageComposeViewControllerDelegate delegate)
Sets the delegate for this MFMessageComposeViewController.
|
void |
setRecipients(List<String> recipients)
Sets the list of the recipients of this message.
|
void |
viewWillAppear(boolean animated)
Called before the view is added to the view controller's hierarchy with
animation or not according to the Boolean parameter.
|
delegate, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, isNavigationBarHidden, isToolbarHidden, loadView, navigationBar, popToRootViewControllerAnimated, popToViewController, popViewControllerAnimated, pushViewController, setDelegate, setNavigationBarHidden, setNavigationBarHidden, setToolbarHidden, setToolbarHidden, setViewControllers, setViewControllers, showViewController, tabBarItem, toolbar, topViewController, viewControllers, viewDidAppear, viewDidDisappear, viewWillDisappear, visibleViewController, willAnimateRotationToInterfaceOrientation, willRotateToInterfaceOrientation
addChildViewController, additionalSafeAreaInsets, allowedChildViewControllersForUnwindingFromSource, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, bottomLayoutGuide, childViewControllerContainingSegueSource, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, contentSizeForViewInPopover, definesPresentationContext, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissViewControllerAnimated, edgesForExtendedLayout, editButtonItem, endAppearanceTransition, extensionContext, hidesBottomBarWhenPushed, interfaceOrientation, isEditing, isModalInPopover, isViewLoaded, loadViewIfNeeded, modalPresentationStyle, modalTransitionStyle, navigationController, navigationItem, nextResponder, nibName, parentViewController, performSegueWithIdentifier, preferredInterfaceOrientationForPresentation, preferredStatusBarStyle, prefersStatusBarHidden, prepareForSegue, presentedViewController, presentingViewController, presentModalViewController, presentViewController, providesPresentationContextTransitionStyle, removeFromParentViewController, restorationIdentifier, rotatingFooterView, rotatingHeaderView, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setHidesBottomBarWhenPushed, setModalInPopover, setModalPresentationStyle, setModalTransitionStyle, setNeedsStatusBarAppearanceUpdate, setProvidesPresentationContextTransitionStyle, setRestorationIdentifier, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setView, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifier, showDetailViewController, splitViewController, storyboard, supportedInterfaceOrientations, tabBarController, title, toolbarItems, topLayoutGuide, transitionFromViewController, view, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewSafeAreaInsetsDidChange, viewWillLayoutSubviews, wantsFullScreenLayout
becomeFirstResponder, isFirstResponder, resignFirstResponder, touchesBegan, touchesCancelled, touchesEnded, touchesMoved
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public static boolean canSendText()
public String body()
public void setBody(String body)
body
- The text-body of the message.public List<String> recipients()
public void setRecipients(List<String> recipients)
recipients
- The list of the recipients of this message.public MFMessageComposeViewControllerDelegate messageComposeDelegate()
public void setMessageComposeDelegate(MFMessageComposeViewControllerDelegate delegate)
delegate
- The delegate of this MFMessageComposeViewController.public void viewWillAppear(boolean animated)
UIViewController
viewWillAppear
in class UINavigationController
animated
- If set TRUE the view is added with animation.Copyright © 2020. All rights reserved.