ios - Loading app after phone call -


i trying make speed dial app various numbers user might enter. loading phone after clicking uitableviewcell

- (ibaction)dialer:(id)sender{     nsurl *url = [ [ nsurl alloc ] initwithstring: @"tel:09-410-7078" ];     [[uiapplication sharedapplication] openurl:url]; } 

that loads phone dialer , dials number.. i'm woundering if after phone call has ended possible load app exited phone call.. or if there better way trying do?

actually should keep in mind application can unloaded @ moment. when application being unloaded app delegate gets messages (applicationwillterminate, applicationwillresignactive, applicationdidenterbackground). should read this post. in methods should save parameters of application (current page, settings, etc.) , use them when application launched or become active again.

if want start application manually shouldn't so. user surprised such behavior.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -