Insert a set text block into SMS

Discussion in 'iOS Programming' started by jjgraz, Jun 17, 2009.

  1. jjgraz macrumors regular


    Feb 13, 2009
    We have an application which upon pushing a button closes the app and opens the iphone SMS application. We are trying to do both of the following:

    1) open to an contact of choice (in other words: when SMS opens it opens with the person in contacts that the SMS will be sent to)

    2) insert a set text which comes from application(so just a line of text that will always be the same)

    So in other words: When user selects the button, our app closes, SMS opens to the correct person and inserts a text line into the UITextField, so the user just needs to push send.

    Are either of these two things possible....Been looking everywhere and can't find any literature.

    Thank you.
  2. kainjow Moderator emeritus


    Jun 15, 2000
    I don't think it's possible to insert text. However you can use the sms: URL to open a new text message to a specific number.

Share This Page