The sequence of events of a UIVIEWCONTROLLER in IOS

While i was working on a one of my IOS app. i faced a small issue, and that issue was the load of data or refreshing data on all pages(5 pages). initially i thought i can resolve this issues using ViewDidload or ViewwillAppear but it was not.Because each page have different controls and contents linked with DateFormat of a common Database.

After a little google, someone suggest to use ViewDidAppear and it really worked for me.

Below are the sequence of Events