Where is the problem in the code

Discussion in 'iOS Programming' started by adilaladil, Dec 8, 2012.

  1. adilaladil, Dec 8, 2012
    Last edited by a moderator: Dec 8, 2012

    adilaladil macrumors newbie

    Joined:
    Dec 8, 2012
    Location:
    ksa -Al Qunfudhah
    #1
    this is code oK


    Code:
    -(IBAction)callPhone:(id)sender {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:2135554321"]];
    }

    but , I want to use "*" or "#"

    As in the example

    Code:
    :@"tel:*188"2135554321#"]];
    

    I read:
    "
    To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone application supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters
    "

    How can I use "*" or "#"?
    Contact request


    Good day,
     
  2. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007

Share This Page