tabBarController = [[UITabBarController alloc] initWithNibName:nil bundle:nil];
tabBarController.delegate = self;
UINavigationController *searchNav = [[[UINavigationController alloc] initWithRootViewController:search] autorelease];
searchNav.navigationBar.barStyle = UIBarStyleBlack;
[searchNav.tabBarItem initWithTitle:@"Search" image:[UIImage imageNamed:@"icn_find.png"] tag:0];
SettingsView *settings = [[[SettingsView alloc] initWithNibName:@"SettingsView" bundle:nil] autorelease];
settings.delegate = self;
UINavigationController *nav2 = [[[UINavigationController alloc] initWithRootViewController:settings] autorelease];
nav2.navigationBar.barStyle = UIBarStyleBlack;
[nav2.tabBarItem initWithTitle:@"Settings" image:[UIImage imageNamed:@"icn_Settings.png"] tag:1];
tabBarController.viewControllers = [NSArray arrayWithObjects: searchNav, nav2, nil];
The problem I have is that the icon image for the tabbaritem got chopped off. How do I make it fit the whole icon in?