Questions tagged [mfmessagecomposeviewcontroller]

For questions about the MFMessageComposeViewController class in iOS, which allows composing and sending text messages.

The MFMessageComposeViewController class provides a standard system user interface for composing text messages. Use this class to configure the initial recipients and body of the message, if desired, and to configure a delegate object to respond to the final result of the user’s action—whether they chose to cancel or send the message. After configuring initial values, present the view controller modally using the presentModalViewController:animated: method. When done, dismiss it using the dismissModalViewControllerAnimated: method.

Reference: https://developer.apple.com/library/prerelease/ios/documentation/MessageUI/Reference/MFMessageComposeViewController_class/index.html

199 questions
0
votes
2 answers

Send message directly without presenting MFMessageComposeViewController

Currently,I am developing an app to track iPhone, so when the app is starting, the current location is automatically sent to the Recipient as a text message. I have used the below code for sending message, but it is for…
0
votes
1 answer

Open iMessage composer after clicking app's notification banner?

I'm looking for a way to set up an iMessage after a user clicks my app's notification. Is there any way to do it directly, or would the notification have to open my app and then open MFMessageComposeVC? If I can only do the latter, how can I…
0
votes
1 answer

MFMessageComposeViewController not showing recipient box

In my app I have hidden the status bar and increased the navigation bar height by using navigation bar category. Using: @implementation UINavigationBar (customNav) - (CGSize)sizeThatFits:(CGSize)size { CGSize newSize =…
0
votes
2 answers

Can't Attach Image to MFMessageComposeViewController

I'm doing the following, but when logging, it always returns that the image could not be attached. What's wrong here? - (void)showInvitation { if (![MFMessageComposeViewController canSendText]) { UIAlertView *warningAlert = [[UIAlertView…
0
votes
2 answers

Odd Behavior When Using MFMessageComposeViewController

The issue I'm having is with both MFMessageComposeViewController as well as UIActivityViewController and the Message option. The dialog is presented properly, but when I select a recipient, the entire recipient field slides up under the navigation…
0
votes
1 answer

MFMessageComposeViewController - how can I find out when this has been fully presented?

The Problem - Preparing and showing an MFMessageComposeViewController is trivial as per the Apple docs. What I need to know is when this has been fully presented. Explanation - Showing the MFMessageViewComposeController with a completion block is…
Jordan Smith
  • 10,310
  • 7
  • 68
  • 114
0
votes
1 answer

Is it possible to make SMS attached Image linkable using MFMessageComposeViewController in iOS?

Is it possible to make attached image linkable in SMS in iOS. Mean when user see the SMS with image that image can redirect to some url.Please, suggest.
Sanoj Kashyap
  • 5,020
  • 4
  • 49
  • 75
0
votes
1 answer

Text message window in viewDidLoad pops up after everything else

I have a text message window setup in my View Controller's viewDidLoad method implementation. If a specific NSString object contains "YES", then I call my text message window's method and it pops up. All of this works fine, the only problem is that…
0
votes
1 answer

MFMessageController crash sometimes

I have the concept of sharing to contacts in my App and used MFMessageComposeViewController. -(IBAction)btnAddClicked:(id)sender { @try { selections = [[NSMutableArray alloc] init]; for(NSIndexPath *indexPath in arSelectedRows)…
Honey
  • 2,840
  • 11
  • 37
  • 71
0
votes
1 answer

Stop MFMessageComposeViewController from sending?

I use an MFMessageComposeViewController in my app for users to submit feedback and fill out a survey. This is a rudimentary system where the email is prepopulated with a text that has a series of questions which they answer directly in the email,…
Jason
  • 14,517
  • 25
  • 92
  • 153
0
votes
1 answer

MFMailComposerViewController not Sending Email

I have implemented in app Email and SMS sending functionality but i am not being able to send email and SMS. application is crashing well . . . i am running it in Simulator but it should show the AlertView it's not supposed to crash My Interface…
0
votes
2 answers

Apple's controllers not presenting properly in iOS7

In my iOS app i present standerd controllers MFMessageComposeViewController and UIImagePickerController. But they both presenting with strange navigation bar. How can i fix this problem? UPD code for presenting…
0
votes
1 answer

how to fill in textComposer body with text from Text Fields

One of the functions of my app involves the user filling out three seperate text Fields ( bookingName, Guests and date), then sending the text in these Fields via sms using text composer. I am having trouble getting the text from these views into…
Shayno
  • 788
  • 9
  • 26
0
votes
1 answer

SMS Open Up With Message

I have created an application that uses the SMS and after the user clicks the sms button it opens up with my number already in and no message (thats their job). But when it loads up the sms message page it set the curser thing is up where the…
Nicholas Gibson
  • 208
  • 2
  • 13
0
votes
1 answer

How to send message with a single tap

I want to send message to multiple people with single tap i..e, without opening the MFMessageViewController . I'll Configure the senders list and message to be send with NSUserDefaults. Can we able to send without viewing the…