I am trying to make a program, in which, user can auto dial the number(last call preferably),similar to what we have in old telephone.
I need to get the last dial number from the call list and on one touch, user can make a call on that number.
Please guide me to get the idea, to achieve this.
You cannot modify Phone app's logic. You can't.
from Programatically Dial a Phone number and pass DTMF using the iPhone SDK
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.
Its a good idea to detect whether or not the device support phone calls