I have a tabbar application with only one tab.
Here are my didFinishLaunchingWithOptions
- (bool) application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) launchOptions {OneDayViewController * oneDayView = [[OneDayViewController alloc] initWithNibName: @ "oneDayView" bundle: nil]; TabBarController.viewControllers = [NSArray arrayWithObject: oneDayView]; [Self. Window Adsview: TabBr Controller See]; [Self. Windows and knowledgeable]; Yes come back } any method OneDayViewController , I have this code:
UIView * superView = [self.view superview ]; The question is: What is superView now? UIView? UIViewController or ... I do not know (sorry about that)
P / S: I want to remove ask it because I OneDayView and would like to add Tabbar another scene.
Thank you very much.
You'll supervision tab BarController.view ... (Earlier I mentioned the window I was wrong ...)
Post the code that is displaying / pushing OneDayViewController ... so that we can get clear estimates about supervision ... < / Html>
Comments
Post a Comment