openURL SMS

Discussion in 'iOS Programming' started by zed2, Aug 9, 2008.

  1. zed2 macrumors 6502a

    Joined:
    Jul 17, 2004
    Location:
    Bucks
    #1
    Hi,

    I'm trying to use openURL to send an SMS message. I've found that:

    sms:12345

    will indeed launch SMS and fill in the TO with "12345" however I'd like to fill the body and leave the TO blank.

    does anyone know how to do this? I've ben trying the same format that mailto: supports but it appears not to work :(

    any ideas?

    --Zed
     
  2. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #2
    I'm pretty sure there was another thread about this a while ago where someone put in some effort to figure out how to set the body with no luck.
     
  3. Garrett macrumors regular

    Joined:
    Apr 4, 2007
    #3
    Try sms:12345?body=Test, sms:12345&body=123

    I would think it would me, body, content, message, q or some sort of parameter.
     
  4. zed2 thread starter macrumors 6502a

    Joined:
    Jul 17, 2004
    Location:
    Bucks
    #4
    yeah tried those... still no luck.

    --Zed
     
  5. zed2 thread starter macrumors 6502a

    Joined:
    Jul 17, 2004
    Location:
    Bucks
    #5
    seems like another very useful API feature is missing.

    Has anyone else also noticed that if you create a URI to allow one app to call another.. it does work from mail!! kinda the most important one I'd think.

    --Zed
     

Share This Page