Q:

Last function that gets called in a viewcontroller

I want to assign a textbox value to a variable in the last method that gets called in a viewcontroller.How?

A:

it's viewDidUnload i guess. or you may also do this in viewDidDisappear, viewWillDisappear

