iphone - Drawing on a UITableViewCell backgroundView using CoreGraphics -
i have subclass of uitableviewcell need draw custom backgroundview cell. implementing drawrect:, can draw view fine, behind tableview , tableviewcells.
in order use cg draw custom backgroundview, need make separate uiview subclass drawing in , set cell's backgroundview?
thanks!
edit: screenshot
i want blue drawn instead of white. in place of white. or @ least on top of it.
i drawing shadow behind cell using ca, , have shadow behind view drawing.
you need set background of contentview.
mycell.contentview.backgroundcolor = [ uicolor greencolor ]; //
Comments
Post a Comment