how can i make call from my application to particular no. Give me some logic or code for performing this task...
+3
A:
Use UIApplication's openURL:
method:
[[UIApplication sharedApplication] openURL:
[NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",phoneNumber]]];
Vladimir
2010-08-02 07:45:30
thx for giving code. it's working for make a call but when the call ends then the application also terminates and again I have to initialized the application why is it so ??
tech.samar
2010-08-02 10:03:27
alas, is iphone os limitation - it did not support multitasking for 3rd party apps before iOS4, so application gets closed when phone calls. On iOS4 it should simply go to background I think.
Vladimir
2010-08-02 11:02:05