iphone - Customize the tabbar and tabbar item -
i using uitabbarcontroller
in application , set frame tabbar display in center. change color , image of tabbar want remove small edge not clear how can clear color become white.
code: [[uitabbar appearance] setshadowimage : [uiimage imagenamed:@"white.png"]];
another option is, add
#import <quartzcore/quartzcore.h>
framework , use
self.tabbarcontroller.tabbar.layer.borderwidth = 0.50; self.tabbarcontroller.tabbar.layer.bordercolor = self.tabbarcontroller.tabbar.tintcolor.cgcolor;
Comments
Post a Comment