UIPickerView
アイテムの配列を表示する があります。アイテムを選択すると、すべてのビュー コントローラーに渡すことができます。今私の問題は、別の場所に移動してview controllers
戻った後UIPIckerView
、最初の配列項目が表示され、選択した項目ではありません。選択したアイテムを表示するにはどうすればよいですか?
//in viewDidLoad()
itemsArray = [[NSArray alloc] initWithObjects:@"5", @"10", @"20", @"30", @"50",@"100", nil];
// if i select 20 and moved to other pages of my controllers and
// return to the UIPickerView i can see the 5 as selected not the 20
助言がありますか?