私は を使用UITabBarController
していTabBarItem
ます。すべて からのドラッグ アンド ドロップですXIB
。各タブには 1 つのビューがあります。次に、最初のビューから 2 番目のビューにNSString
値を送信する方法を説明します。値を送信できません。これが私のコードです:TabBarItem
TabBarItem
tableViewIns = [[TableViewController alloc]init];
tableViewIns.yearInputValue = yearTextField.text;
tableViewIns.principalInputValue = principalTextField.text;
tableViewIns.interestInputValue = interestTextField.text;
最初のタブはHomeViewController
、2 番目のタブはTableViewController
です。あるタブから別のタブに値を送信する方法。