Quote:
|
Originally Posted by javid.alimohideen
Finally, I was able to figure out how to draw a balloon cell as a background for my table view cell. If anyone is looking for code it is very sraightforward. I have attached a balloon image incase you need one.
Code:
-(void)drawRect:(CGRect) aRect {
UIImage* balloon = [[UIImage imageNamed:@"balloon.png"] stretchableImageWithLeftCapWidth:15 topCapHeight:15]; // you need to have the .png image, it's not a system one.
[balloon drawInRect: aRect];
}
|
how did you attach it to a uitablviewcell?