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 1090939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:26:51+00:00 2026-05-16T23:26:51+00:00

I am working on a simple application in which I need send sms programmatically

  • 0

I am working on a simple application in which I need send sms programmatically to my friends.
so write below code for sending sms .

MFMessageComposeViewController *picker = [[[MFMessageComposeViewController alloc] init]autorelease];
if([MFMessageComposeViewController canSendText])
{
    picker.messageComposeDelegate = self;   
    picker.recipients =[NSArray arrayWithObject:@"123"]; 
    picker.body=@"hello";   
    [self presentModalViewController:picker animated:YES];
}

but I do not want to load message picker and send sms to friends.
// [self presentModalViewController:picker animated:YES];
is it possible to send sms without click in send button.

  • 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-16T23:26:51+00:00Added an answer on May 16, 2026 at 11:26 pm

    The two options available in the iOS API are:

    • MFMessageComposeViewController – requires user confirmation
    • sms:// URLs – requires user confirmation

    If you want to do something else, you’ll need to set up a network-based service with an SMS gateway provider and send messages via that. I used to work with such a provider that had an HTTP POST interface, which would be simple enough to use. That comes with a couple of important differences:

    • the SMS is actually sent by the gateway server, not the handset (though you can usually rewrite the sender ID and get the message billed to the handset owner)
    • you’ll need to pay for access to the service, which might include paying per message (or more likely per 1,000 messages)

    Also note that sending SMS on your users’ behalf without confirmation might be frowned upon when your app is reviewed, especially if they’re billed for.

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

Sidebar

Related Questions

I am working in simple application in which I need to post data to
I have developed a simple location aware iPhone application which is functionally working very
Well, simple question. I'm working with VS2008 on an ASP.NET web application which has
I am currently working on a sample application which uses QNetworkAccessManager to send the
I'm working on a simple facebook application where I'm storing: Facebook friends ID Table
I have a working JNLP application which I need to distribute to various non-technical
I'm working on an simple application which shows a list of contacts from a
I am trying to code an simple PHP application which will retrieve some information
I'm working on a simple Zend application and I need to encrypt all the
I have a simple WPF application I'm working on, which performs a SQL query

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.