I had an application, in which I'm setting a label in custom cell according to the content. I do that with this code:
if(condition)
{
[cell.dtlsnameLabel setFont:[UIFont fontWithName:@"Calibri-Bold" size:12]];
}
else
{
[cell.dtlsnameLabel setFont:[UIFont fontWithName:@"Calibri" size:12]];
}
[cell.dtlsnameLabel setText:@“dghgshdg”];
But it is not working correctly. Can anybody point me where I am going wrong?