zs2020
zs2020

Reputation: 54532

Back button on navigation bar triggers an action?

Is it possible that when I hit the back button on the navigation bar and after go back to the previous page and then trigger an action on the previous page?

Upvotes: 1

Views: 712

Answers (1)

user394753
user394753

Reputation: 56

You can use the method of viewWillAppear.

Upvotes: 4

Related Questions