Hello
In appdidfinishlaunch I'm loading a tabbarcontroller as subview and after that im loading an other view
MySubView * mySubView = [[MySubView alloc] init];
[window addSubview:mySubView];
[mySubView release];
I want to close that toplayer with a buttonclick in the subview, so I set up an IBAction and tried diffrent things to force the actual view to close:
// 1.
[self.view removeFromSuperview];
// 2.
id *delegate = [[UIApplication sharedApplication] delegate];
[[[delegate view] objectAtIndex:0] removeFromSuperview];
//3.
[[[delegate window] view] removeFromSuperview];
So how can i pop this subview from window ?
cheers Simon