Hi All,
I am doing a custom cell view in IPhone
my class is inherited from UITableViewCell
I do custom drawing in drawrect: method.
every thing is fine, but while selection of row, the text does not display !. Is there a way i will be able to show up the text after selection drawing happens ?
- (void)drawRectCGRect)rect {
// Drawing code
[self.desc drawAtPoint:CGPointMake(0,0) withFont:[UIFont systemFontOfSize:[UIFont systemFontSize]]];
CGRect drawRect = CGRectMake(100, 5, 50, 10);
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetRGBFillColor(context, 0.5, 1.0, 0.5, 0.8);
CGContextFillRect(context, drawRect);
}
I am doing a custom cell view in IPhone
my class is inherited from UITableViewCell
I do custom drawing in drawrect: method.
every thing is fine, but while selection of row, the text does not display !. Is there a way i will be able to show up the text after selection drawing happens ?
- (void)drawRectCGRect)rect {
// Drawing code
[self.desc drawAtPoint:CGPointMake(0,0) withFont:[UIFont systemFontOfSize:[UIFont systemFontSize]]];
CGRect drawRect = CGRectMake(100, 5, 50, 10);
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetRGBFillColor(context, 0.5, 1.0, 0.5, 0.8);
CGContextFillRect(context, drawRect);
}