I'm trying to pass the value of UILabel
with NSUserDefaults
.
At the first viewController I have a picker and the picked item is a UILabel
string.
In the second viewController I want the item that has been chosen from the picker to be simply displayed as a UILabel
string .
How can I do this with NSUserDefaults
, I know how do it with UITextField
but it does not work for me with UILabel
Why does this happen?