What is the program flow in case navigation based application developed for iphone in objective C? -


I want to know the sequence in which default or predefined methods (such as viewDidLoad applicationDidFinishLaunching etc.) are called in program execution Navigation based application.

See a life cycle for a view controller

  1. viewDidLoad
  2. viewWillAppear
  3. viewDidAppear
  4. ViewDidDisappear
  5. ViewDidUnload (in case of memory warnings)

Everything depends on the sequence and methods of instantization of other root view controllers (via IB or code).


Comments