Application relaunch is failing when contact is dialled through iPhone without SIM

Discussion in 'iOS Programming' started by shweta13, Oct 24, 2008.

  1. shweta13 macrumors member

    Joined:
    Aug 7, 2008
    #1
    Hi all,

    I have written an application which dials certain contact number, and on "End Call", it relaunches my application.
    But if I test my application with an iPhone which does not have a sim card, then the application relaunching does not occur consistently every time I do "End Call".
    Why is the application exhibiting such random behavior?
     
  2. cgbhat macrumors newbie

    Joined:
    May 11, 2009
    #2
    Hi Shweta,

    I am new to mac development, could you please tell me how you got your app to detect 'end call' or for that matter, how do we detect 'start call'

    Also, could you please let me know what docs you referred.

    Thank you!
     
  3. BlackWolf macrumors regular

    Joined:
    Apr 9, 2009
    #3
    well, this may be stupid but: if the phone has no sim card inserted, your app can't do anything anyway, can it? so does it matter?
     

Share This Page