I have viewcontroller. I have created its object in appdelegate.m file as I want to use that viewcontroller in poptoviewcontroller method. Now once I have created its object in appdelegate file and when I am pushing that viewcontroller it is calling viewdidload only 1 times. But from second time it is not calling viewdidload. I have some component which i want to load each and every time that controller load. What to do?? Is there any other way to use viewcontroller in popToViewController method without creating its object in appdelegate.m file
I have 4 viewcontroller A,B,C,D. I am navigating from A to B. And I have some component in B which I am loading in viewdidLoad. Now From A to B flow I am getting value from server of component. And displaying in B. Now if user want to change value then he will redirect to C from B to change B component value. And also some times he will redirect to D and from D I am poping to B with B component value. Now If i will write my B code in viewwillappear then When I will return from C to B it will load value which I got at the time of navigation from A to B.