开发者

Way to call a phone number along with passing a image

I need to know is there a way to call a phone number along with passing a image to display.... also if i could get the call duration, or set some notification for particular time....

One way is to call using

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://123456789"]];

but then my application would go i开发者_JAVA技巧n backgound , how to i call my application after phone call end...


What you are asking is almost not possible.

Im saying allmost because it might be posibbole to

  1. add a temporary contact to the address book with the phone number you want.
  2. set its image to the image you want.
  3. paste the call with the method you wrote.

but still there are 2 problems.

  1. you will have somehow to delete the contact afterwords.
  2. you can not do the things you asked from the background. and you can not do nothing when a call is active.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜