Tuesday 17 December 2013

UITabBarController Example in Iphone

ip8AppDelegate.h

@property (nonatomic, retain) IBOutlet UITabBarController *tabVC;

ip8AppDelegate.m

@synthesize tabVC;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [self.window makeKeyAndVisible];
   
    self.window.rootViewController = tabVC;
   
    return YES;
}

First.h

First.m

#import "Second.h"

Second.h

Second.m

No comments:

Post a Comment

Comment