How to Change Font Size of Cell in uitableview

Parag Deshpande picture Parag Deshpande · Mar 16, 2011 · Viewed 45.7k times · Source

I tried this, but it is not working.

cell.textLabel.adjustsFontSizeToFitWidth=NO;
cell.textLabel.minimumFontSize=6;

I need a code snippet.

Answer

Praveen S picture Praveen S · Mar 16, 2011
UIFont *myFont = [ UIFont fontWithName: @"Arial" size: 18.0 ];
cell.textLabel.font  = myFont;

UIFont reference