/**
* 重新绘制Cell线
*
*/
-(void)drawRect:(CGRect)rect
{
CGContextRef ctx=UIGraphicsGetCurrentContext();
CGContextSetLineWidth(ctx,0.25);
CGContextSetLineCap(ctx, kCGLineCapRound);
CGContextSetStrokeColorWithColor(ctx,[UIColor lightGrayColor].CGColor);
CGContextMoveToPoint(ctx,0,rect.size.height-0.25);
CGContextAddLineToPoint(ctx,rect.size.width,rect.size.height-0.25);
CGContextStrokePath(ctx);
[super drawRect:rect];
}
* 重新绘制Cell线
*
*/
-(void)drawRect:(CGRect)rect
{
CGContextRef ctx=UIGraphicsGetCurrentContext();
CGContextSetLineWidth(ctx,0.25);
CGContextSetLineCap(ctx, kCGLineCapRound);
CGContextSetStrokeColorWithColor(ctx,[UIColor lightGrayColor].CGColor);
CGContextMoveToPoint(ctx,0,rect.size.height-0.25);
CGContextAddLineToPoint(ctx,rect.size.width,rect.size.height-0.25);
CGContextStrokePath(ctx);
[super drawRect:rect];
}