awesome customize tab bar iOS

awesome customize tab bar iOS

Center Button in Tab Bar for iOS

As seen in Instagram, Path, DailyBooth, and other apps, place a button in the center of a UITabBar to let the user perform some action that is central to the application’s purpose.

Read More

Customize the background of Tab Bar in iPhone SDK

Customize the background of Tab Bar in iPhone SDK

In iPhone application, you can change the background of tab bar by an image by following this code:

// customize the tab bar background
CGRect frame = CGRectMake(0, 0, 480, 49);
UIView *viewBackround = [[UIView alloc] initWithFrame:frame];
UIImage *imgBackground = [UIImage imageNamed:@"bg_tabbarview.png"];
UIColor *colorPattern = [[UIColor alloc] initWithPatternImage:imgBackground];
viewBackround.backgroundColor = colorPattern;
[colorPattern release];
[[self.tabBarController tabBar] insertSubview:viewBackround atIndex:0];
[viewBackround release];
// end custom tab bar

 

Read More