You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setup code inside viewWillAppear should only be performed once. Inside my app it happens that I push a view controller and when navigating back viewWillAppear is called again. This then causes all the pages to be setup again and the current index is reset.
The text was updated successfully, but these errors were encountered:
I have been facing the same issue and came up with a solution of quality proportional to the amount of time I had to investigate the issue. tl;dr - lame but works.
Not sure if it was a bug or by design but in my case pushing anything on top of the navigation and then going back was causing some rather unintuitive behaviour.
The setup code inside
viewWillAppear
should only be performed once. Inside my app it happens that I push a view controller and when navigating backviewWillAppear
is called again. This then causes all the pages to be setup again and the current index is reset.The text was updated successfully, but these errors were encountered: