David Sanford
David Sanford

Reputation: 745

How to refresh ViewController targeted with Back Button

I have a localized app that runs well. While all pages refresh with the change language button, their is one page that does not. This page is triggered by a "Back" button. Apparently, Back buttons do not trigger the function ViewDidLoad. How to refresh a VC as the result of a Back Button?

Upvotes: 1

Views: 711

Answers (1)

Bista
Bista

Reputation: 7893

Use the code you want inside: viewWillAppear: method.

Upvotes: 2

Related Questions