1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21:
AppDelegate.m:- [Fenster addSubview: tabBarController.view]; WelcomeViewController *aViewController = [[WelcomeViewController alloc] initWithNibName: @ " WelcomeViewController " Bündel: [NSBundle mainBundle]]; self.viewController = aViewController; [aViewController Freigabe]; [Fenster addSubview: [viewController Ansicht]]; AppDelegate.h:- UITabBarController *tabBarController; WelcomeViewController *viewController; @property (nicht atomar, behalten), IBOutlet UITabBarController *tabBarController; @property (nicht atomar, behalten), WelcomeViewController *viewController; WelcomeViewController.m:- - (IBAction) clickBooking: Absender (Identifikation) { BookingViewController *bView = [[BookingViewController alloc] initWithNibName: Nullbündel: Null]; [SelbstpresentModalViewController: bView belebt: JA]; } WelcomeViewController.h:- - (IBAction) clickBooking: Absender (Identifikation);