I am newbie and developing a single view application for iPhone with various (A, B, C, D) view controller. Root view controller is A and other view controller are presented as
[self presentModalViewController:C animated:YES]; on some button click.
If the application suspends at C or any other view due to phone call or home button or any action and on resume i want to dismiss presented view (C or D or any) and present B .
What should i code? (on appDelegate.m) or Where??