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
1 answer

MFMessageComposeViewController showed without cancel button and title

My app has a feature to allow user sending SMS to their contacts who haven't register our app to invite them. I implemented it as follows several weeks ago and it works well: if ([MFMessageComposeViewController canSendText]) { …
tomisacat
  • 506
  • 4
  • 12
0
votes
1 answer

Method to open Phone app (Swift)

What's the method to open the phone app with a populated number? I know how to do this for a text message with MFMessageCompose but would like to learn how for phone calls. Thanks all!
user5034511
0
votes
1 answer

Send a text message directly via an IBAction (Objective-C)

How do I send a text message (using MFMessageComposeViewController) directly via an IBAction? Like, when the button is pressed, a text message is sent with a preset number, and no keyboard shows up or anything. Just an alert saying "SMS was sent…
Yomo
  • 175
  • 2
  • 15
0
votes
0 answers

ObjectiveC MessageComposerViewController on iPhone device. All is ok with iPad

I've got a problem with my universal app. In particular my problem is about using MessageComposerViewController (MCVC). I want to send email with a pdf attached and all works done. My problem occurs when I dismiss the MessageComposerViewController.…
Jack
  • 49
  • 1
  • 5
0
votes
0 answers

MFMessageComposeViewController did not Support iOS 8

MFMessageComposeViewController *controller = [[MFMessageComposeViewController alloc] init]; if([MFMessageComposeViewController canSendText]) { controller.body = [NSString stringWithFormat:@"%@ \n%@", LOCALIZED(@"Angkor Auto"), car.name]; …
0
votes
0 answers

Message not delivering when sending MFMessage to more than 15 numbers

I'm trying to use MFMessage to send a text message from my app and I can send the message to around 15 people, but more than that, it successfully que's but the Messages app on the device says the text is not deliverable. There's not much…
Jake Lisby
  • 494
  • 5
  • 21
0
votes
0 answers

Presenting MFMessageComposeViewController or UIAlertController crashes app

I'm trying to present a message compose view controller on my currently presented view controller but the app crashes in the middle of the MFMessageComposeViewController presentation animation. using the following code to present the…
0
votes
1 answer

MFMessageComposeViewController bar transparent

I'm trying to present a MFMessageComposeViewController modally. MFMessageComposeViewController *controller =[[MFMessageComposeViewController alloc] init]; if([MFMessageComposeViewController canSendText]) { controller.body = @"Welcome to my…
danflu
  • 325
  • 8
  • 25
0
votes
2 answers

MFMessageComposeViewController - Remove 'Buddy Name'

I'm using the MFMessageComposeViewController to allow my users to send out app download invites to their friends. I want to load the View Controller with the recipients field blank, so the user can add whoever they wish. When I use the code below, a…
user4618971
0
votes
1 answer

No visible @interface for MFMEssageComposeViewcontroller declares the selector 'setToRecipients'

Friends,there is something fishy here now and then, I am working with MFMessagecomposeviewcontroller and really worked out well,after sometime when i am writing code i am getting this error newly No visible @interface for…
0
votes
1 answer

MFMessageComposeViewController unrecognized selector sent to instance

I got a problem with my iOS Swift App and i can't solve it by myself for hours. I have 3 View Controller: View 1 (List) ---> View 2 (Detail) ---> View 3 (Contacts) In View 3 I have a UITableView with my AddressBook Contacts. On select a…
Kevin Lieser
  • 951
  • 1
  • 9
  • 25
0
votes
3 answers

iOS:mobile sim verification code from app

i am doing iOS app having a concept of sending verification code to the mobile no from the same mobile so that it will get verified and give sms back to me. But i need some unique id for that process.Same this kind of process is using by the whats…
0
votes
4 answers

Graphic issue presenting MFMessageComposeViewController

I've this strange issue when i'm presenting a MFMessageComposeViewController in my app! I don't know what this black bar is and i'm unable to remove the app logo from the NavigationBar. And here is the code for presenting the…
javal88
  • 1,188
  • 3
  • 17
  • 29
0
votes
1 answer

send audio with MFMessageComposeViewController

does anyone know i this is possible by doing something like [compose addAttachmentData:data typeIdentifier:(NSString *)kUTTypeAudio filename:@"test"]; The resulting message isn't of any playable format so not sure if its possible at all? The data…
Jules
  • 660
  • 8
  • 29
0
votes
1 answer

MFMessageComposeViewController iOS 8 issue

I am having same issue as MFMessageComposeViewController issues in iOS8 but the solution does not work for me. Anyone have ideas where to start?