Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ctznpark

macrumors newbie
Original poster
Nov 16, 2006
10
0
hello,

Apologies if this is an obvious question:

Can an iPhone app be alerted when an incoming phone call/message is coming?

Thanks in advance for any help!
 
Pretty sure this is a yes though I've never dealt with it as it's not relevant to my apps. Not so sure you can actually do anything about it though.
 
If your application is in the foreground, its app delegate will receive a applicationWillResignActive message, but I don't believe there is a way to determine whether the message was sent as a result of an incoming call or a text message.

If your application is not in the foreground, there is no way to know.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.