Thursday, 5 July 2012

Adding a Line in Cell

UIView *lineView            = [[[UIView alloc] initWithFrame:CGRectMake(0, 68, 300, 1.5)] autorelease];
                lineView.backgroundColor    = [UIColor whiteColor];
                lineView.autoresizingMask   = 0x3f;
                [cell.contentView addSubview:lineView];

No comments:

Post a Comment