Customize the tabbar and tabbar item

ios, iphone, objective-c, uitabbar, uitabbarcontroller

Solution

Another option is, add

#import <QuartzCore/QuartzCore.h>

FrameWork and use

self.tabBarController.tabBar.layer.borderWidth = 0.50;
self.tabBarController.tabBar.layer.borderColor = self.tabBarController.tabBar.tintColor.CGColor;

Problem

I am using `UITabbarController` in my application and also I set the frame to it so that tabbar is display in center. I am so change color and image of tabbar but I want to remove the small edge its not clear how can i clear that color become white. Code: `[[UITabBar appearance] setShadowImage : [UIImage imageNamed:@"white.png"]];`

Original source