Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
935 views
in Technique[技术] by (71.8m points)

iphone - Is it possible to create a app that makes phone calls and play sounds when phone call begins and ends?

I want to do following task:

  1. While on a conversation with a friend, (ie when call is received) play a sound from my phone so the other person on the other phone can hear it. (Call began notice)

  2. When the call is ended, play hung up sound like we used to have in our Landline telephone. (Call ended notice).

So, I was thinking of doing this creating my own phone call apps like iphone has by default. But the question is this be feasible? I have gone through several posts related to this topics and it seems me possible.

Can anyone please tell me how much is it feasible? Most posts says after call ended, I have no control over my app, but some says there is possibility so play sound using AVAudioPlayer's delegate.

Please inform me whether it is technically feasible or not? If I started it now but is not possible for app to get approval from apple in appstore then I will be totally ruined. So, before getting started, I need some help.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Unfortunately, no, you can't. Apple doesn't allow you to do anything related to phone calls, other than start a call. The only way is if you do some kind of over-the-internet call, like a skype phone. But that won't be like a normal phone call.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...