I have an iOS app with 3 tabs:
- Home
- Tab1
- Tab2
In "Home", user can navigate to a view - UIViewcontroller1
- to view the details. When the user pressed "Back" in UIViewcontroller1
to go back to "Home", I would like to detect in Home viewDidLoad()
that the user came here by pressing "Back" in UIViewcontroller1
.
Is there a simple way to detect this?