在我的场面上,我稍有麻烦地提出新的看法,我有这样的守则:
- (void) showMyDayView {
NSLog(@"My Day View was touched");
MyDayViewController *temp = [[MyDayViewController alloc] initWithNibName: @"MyDayView" bundle:nil];
self.myDayViewController = temp;
NSLog(@"superview: %@", [[self mainNavView] superview]);
[[self mainNavView] removeFromSuperview];
NSLog(@"after removal main: %@", [self mainNavView]);
NSLog(@"after removal view: %@", [self view]);
NSLog(@"after removal superview: %@", [[self view] superview]);
[[[self view] superview] addSubview: [self.myDayViewController view]];
[temp release];
}
当我管理该法典时,奥索尔说,“除去了我(null)”
因此,当我对超级意见补充次意见时,不会发生任何情况,因为超级意见是无效的。
任何想法?
Thanks Mark