How to make call from your application?

Discussion in 'iOS Programming' started by smsawant, Jun 27, 2009.

  1. smsawant macrumors newbie

    Joined:
    May 7, 2009
    #1
    i am using following code
    NSString *messageBody =@"<a href="tel:+1-800-275-2273"></a>";
    [composeVC setMessageBody:messageBody isHTML:YES];


    but this gives an error
    "expected "," or ";" before 'tel'

    kindly help me
     
  2. StingerT125 macrumors 6502a

    StingerT125

    Joined:
    Jun 3, 2008
    Location:
    Dutchess County New York
    #2
    I think you meant to post in this section:

    http://forums.macrumors.com/forumdisplay.php?f=135
     
  3. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #3
    Wrong forum, as pointed out above. But your code issue is you're not escaping the quotes in your URL.
     

Share This Page