App terminates when a call is received?

Discussion in 'iOS Programming' started by drivefast, Sep 29, 2008.

  1. drivefast macrumors regular

    Joined:
    Mar 13, 2008
    #1
    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.
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    That's sort of what happens if the call is refused.

    Try reading about the app environment in the OS programming guide.
     
  3. Luke Redpath macrumors 6502a

    Joined:
    Nov 9, 2007
    Location:
    Colchester, UK
    #3
    Look at the documentation fo UIApplicationDelegate.
     
  4. drivefast thread starter macrumors regular

    Joined:
    Mar 13, 2008
    #4
    thank you, guys. the os programming guide is very good at describing the sequence of events, UIApplicationDelegate is a good reference.
     

Share This Page