I dont know why everyone says you cant... you CAN!
NSString *phoneNumber = @"15555551212";
NSString *dtmfAfterPickup = @"1234";
NSString *telString = [NSString stringWithFormat:@"tel:%@,%@", phoneNumber, dtmfAfterPickup];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:telString]];
This will dial the phoneNumber bypassing the dial/cancel prompt... 1 second after the call is answered, the dtmfAfterPickup string will be automatically dialed.
you can add additional 1 second pauses by inserting commas into the dtmfAfterPickup string.
NSString *dtmfAfterPickup = @"1,2,3,4"; This will add a 1 second pause after each number – AlBeebe
NSString *phoneNumber = @"15555551212";
NSString *dtmfAfterPickup = @"1234";
NSString *telString = [NSString stringWithFormat:@"tel:%@,%@", phoneNumber, dtmfAfterPickup];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:telString]];
This will dial the phoneNumber bypassing the dial/cancel prompt... 1 second after the call is answered, the dtmfAfterPickup string will be automatically dialed.
you can add additional 1 second pauses by inserting commas into the dtmfAfterPickup string.
NSString *dtmfAfterPickup = @"1,2,3,4"; This will add a 1 second pause after each number – AlBeebe