How do I hang up automatically?
I am very interested to know how to hang up automatically. If I press the call button
(this is the code):
-(IBAction)callPhone:(id)sender {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phone.text]];
}
I want to hang up a call after 5 seconds automatically. How can i do this?
Thank.
+3
source to share