1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21:
AppDelegate.m: - [venster addSubview: tabBarController.view]; WelcomeViewController *aViewController = [[WelcomeViewController alloc] initWithNibName: @ bundel " WelcomeViewController ": [NSBundle mainBundle]]; self.viewController = aViewController; [aViewController versie]; [venster addSubview: [viewController mening]]; AppDelegate.h: - UITabBarController *tabBarController; WelcomeViewController *viewController; nonatomic @property (, behoud) IBOutlet UITabBarController *tabBarController; nonatomic @property (, behoud) WelcomeViewController *viewController; WelcomeViewController.m: - - (IBAction) clickBooking: (identiteitskaart) afzender { BookingViewController *bView = [[BookingViewController alloc] initWithNibName: nul bundel: nul]; [zelfpresentModalViewController: bView geanimeerd: JA]; } WelcomeViewController.h: - - (IBAction) clickBooking: (identiteitskaart) afzender;