I have a tableview which consists of Customs Cells. Each of the Cell has three Labels in total.
The major issue is the formation of the middle label of the three labels of the cell.
I am creating a custom label with same CGRect like
UILabel *msglabeltemp = [[[UILabel alloc] initWithFrame: CGRectMake(80,20.0,230.0,80.0)] autorelease];
[cell.contentView addSubview:msglabeltemp];
msglabeltemp.backgroundColor = [UIColor clearColor];
msglabeltemp.textColor = [UIColor grayColor];
msglabeltemp.numberOfLines=6;
[msglabeltemp setFont:[UIFont fontWithName:@"Helvetica Neue" size:12.0f]];
msglabeltemp.tag=1;
msglabeltemp.font=[UIFont systemFontOfSize:12.0f];
msglabeltemp.textAlignment=UITextAlignmentLeft ;
//Adding Label To Cell
UILabel *msglabel = (UILabel *)[cell.contentView viewWithTag:1];
msglabel.text = [data1 objectForKey:@"msg"];
... this label will be called for each label in the cell but it is giving away un expected distance between the first and the middle label.
See the red highlighted area in the image