Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7544087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:35:47+00:00 2026-05-30T08:35:47+00:00

I just upgraded to xcode 4.0.2, my iPhone is 4.3.5 and the MFMessageComposeViewController doesn’t

  • 0

I just upgraded to xcode 4.0.2, my iPhone is 4.3.5 and the MFMessageComposeViewController doesn’t do anything. It doesn’t say “Can’t send an SMS”, it doesn’t crash or abort, but it doesn’t open the dialog to send the message either. It simply does nothing.

-(void)sendSMS:(NSString *)message recipientList:(NSArray *)recipients
{
    if ([MFMessageComposeViewController canSendText]) {

        MFMessageComposeViewController *controller = 
             [[[MFMessageComposeViewController alloc] init] autorelease];

        if (controller != nil) {
            controller.messageComposeDelegate = self;

            controller.body = message;    
            controller.recipients = recipients;

            [self presentModalViewController:controller animated:YES];
            // [controller release];   // If I really did this it would crash.
        }
    }    
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:35:49+00:00Added an answer on May 30, 2026 at 8:35 am

    OK I finally answered my own question. Now I want no one else to have to go through this.

    I was calling this method from just an NSObject. It was a delegate to MFMessageComposeViewControllerDelegate but that made no difference. I had to move this method to my MainViewController, then it worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What can I do?? I just upgraded my iPhone OS but now my Xcode
I just upgraded XCode to 3.2.6 but Organizer said that XCode can not find
I just upgraded to Xcode 4.2 and iOS SDK 5 earlier today. But everything
My iphone is upgraded to iOS 4.3.3. Then I can't debug my app (xcode
I just upgraded Xcode, but now I don't have any 3.x SDK for Simulator.
I just upgraded Xcode to the latest (4.2 (4C199)) and my iPhone to iOS
I have installed just installed MAC OS Lion and Upgraded Xcode to 4.1. But
I am trying to learn iphone programming and I have just upgraded xcode to
I just upgraded to Xcode 3.2 and am using the Build and Analyze feature
I just upgraded to Snow Leopard, including installing the new XCode, re-compiled Ruby 1.8

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.