本当に単純かもしれませんが、その場合は申し訳ありません。
アプリに SplitViewController を追加しています。detailView にロードされたビューを除いて、すべて正常に動作します。(コントロールなど) はロードされますが、データベースからデータを取得していないように、データは「空白」のままです。
しかし、それは、ビュー自体がそれを担当しており、それを detailViewController に挿入しないと機能します!
見てみな :
//this is my data and my ViewController
Medication* med = self.medications[indexPath.row];
MedicationViewController* viewController = [[MedicationViewController alloc] initWithMedication:med isNew:NO];
//1. this *doesn't work*, the detail panel get replaced, but the data from "med" never appears
self.detailViewController = viewController;
//2. but if I do this, everything works fine.
[self presentViewController:viewController animated:YES completion:nil];
私の推測では、私の交換 (1.) は間違っています。コメントはありますか?「リフレッシュ」、「リロード」機能がありませんか?