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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:52:21+00:00 2026-06-05T05:52:21+00:00

I want to be able to programmatically send an iMessage without anything else being

  • 0

I want to be able to programmatically send an iMessage without anything else being done except calling a function that will send a text to a number with a message, both of which are text boxes.
I’d really appreciate some sample code as I’ve hunted the net but nothing I’ve found will help.
This is not for a commercial app, just me so it can use Private frameworks, or anything that will do the job.
Thanks.

  • 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-06-05T05:52:23+00:00Added an answer on June 5, 2026 at 5:52 am

    The only way to send a message is to the MessageUI framework. There is an example of how to do this in the iOS documentation:

    https://developer.apple.com/library/ios/#samplecode/MessageComposer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010161

    Edit: I just noticed this question is a duplicate of this: how to use MessageUI framework to send iMessage messages on iPhone

    Correction: It appears that you can use CoreTelephony to send a message:

    [[CTMessageCenter sharedMessageCenter] sendSMSWithText:message serviceCenter:nil toAddress:number];

    The comment from Jordan Brown led me to this. I do suspect that this might get you banned from the App Store, but I know you said you aren’t concerned with that.

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

Sidebar

Related Questions

I also want to be able to change the image programmatically so that I
I have a programmatically generated image that I want to send as an attachment
I have a list definition in my solution, and i want programmatically be able
I want to programmatically configure a wpf grid. I want to be able to
I want to be able to invoke an SSIS package at will from a
I want to be able to programmatically (in T-SQL) check if a specific linked
in other words, suppose I want to send data, like text, programmatically from a
I want to be able to quickly create some simple ASP.NET reports that don't
I want to be able to programmatically read an XSD, prompt a user to
I want to be able to send a password reset email using django.contrib.auth.views.password_reset but

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.