0
votes

I have a application that has a navigation controller. View1 -> View2 -> View3. When I am at View3 if I perform a popViewController on a button, it sends me back to the View2 but the view is not presented as expected. On this View2 I have a scrollView and some other labels. The first time the app runs everything is presented OK and if from the View3 I hit the back button on the top navigation bar everything is also presented correctly.

(The view2 is being loaded on the viewWilAppear Method).

Can anyone give me some hints to solve this?

Thanks Best Regards

1

1 Answers

0
votes

When you pop a view from the navigation tree, viewWilAppear: is called again. If needed try to load the view on viewDidLoad that will only be called once