我试图装上另一个观点控制器的一位临时的幻灯片。 我的申请意见控制员的结构如下:
Application > Tab Bar Controller > TabBarItem > View Controller
在这种看法中,我有一个州,成功地用一种方法装载临时观点:
- (IBAction)displayTimePickerViewForDayButton:(id)sender {
NSLog(@"displayTimePickerViewForDayButton method entered.");
// create the selector view controller and become the delegate
WOTimePickerViewController *tpvc = [[WOTimePickerViewController alloc] initWithNibName:@"WOTimePickerView" bundle:nil];
tpvc.delegate = self;
tpvc.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:tpvc animated:YES];
[tpvc release];
}
我已经核实,我的WOtimePickerViewController正在从惯用法中成功地返回,但从来看,这种观点从未进入过。
因此,如果我看一看IB的意见,它似乎与“概览”财产有关。 当我对模拟器(来自IB)持有看法时,这种看法是正确的。
当我从XCODE处接手时,我可以浏览一下我方言,看上去了一个空白的白色屏幕(这并不是应该装上的那种看法的白色背景)。