Dear Qiulang, You are right some VoIP manage the 'kill -9' like skype and other application. I asked on apple developer forum abd on apple develepor support how to do that. Unfortunately, they told me they don't comment the solution used by other applications. Maybe they catch some message of launchd. If you resolve the issue, I m interested by your solution. Regards Samuel Le 13 mars 2013 ? 16:43, qiulang <qiulang at sinicnet.com.cn> a ?crit : > When pjsip app was killed by iOS in background is there a way to get notified and do some final (clean-up) work ? > > I have tried UIApplicationDelegate's method like applicationWillTerminate:, applicationDidReceiveMemoryWarning: and dealloc. It seems that none of them get called. I had thought it was impossible and Apple's document seems to indicated that. > > But then I find skype seems to be able to do that. If iOS fresh starts skype, it will show default.png as well as it's logo png, but when skype is in background, killed by ios and you click it to start it again, it only show default.png. So I think skype must be able to tell the difference between these 2 kills and do some extra work for the latter one. But how ? > > Does anyone have experience for that ? > > Thanks! > > Qiulang > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org