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"]]; enter image description here

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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -