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

drivefast

macrumors regular
Original poster
Mar 13, 2008
128
0
i'm trying to figure out what happens with an application when a call is received, and what is the sequence of events. i thought that the app would be put to sleep (set to ignore events, or just touch events), then resurrected automatically when the call is done. my little research looks like it is terminated, and then restarted when the call is hung up. is there any documentation from apple that details this behavior? because for example, while in the call, i would be interested in getting back my app on the screen, without having to restart it.
 

firewood

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
i'm trying to figure out what happens with an application when a call is received, and what is the sequence of events. i thought that the app would be put to sleep (set to ignore events, or just touch events), then resurrected automatically when the call is done.

That's sort of what happens if the call is refused.

Try reading about the app environment in the OS programming guide.
 

drivefast

macrumors regular
Original poster
Mar 13, 2008
128
0
thank you, guys. the os programming guide is very good at describing the sequence of events, UIApplicationDelegate is a good reference.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.