I'm wondering if there's a callback, similar to prepareForSegue
, which gets called when returning to a parent UIViewController, when the user preses the [back] button.
I'd also like to get the information, from which child view controller the user came from, meaning, in which view controller the user pressed the back button.
Use delegate methods if you want to get data back from a pushed (or modal) VC. If you need an example, check here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With