Jul 11, 2010, 01:45 PM
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!
Jul 11, 2010, 02:03 PM
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.
Jul 11, 2010, 04:27 PM
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.