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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

asp.net - Configuring WCF Services in Code WCF 4.5 -