I want to save position and the choice of a UIPickerView
. With NSUserDefaults
it is one picker with 5 rows.
NSInteger selectedRow = [pickerView selectedRowInComponent:0];
[[NSUserDefaults standardUserDefaults] setInteger:selectedRow forKey:@"picker"];