2010-11-19 24 views

Respuesta

16

Prueba algo como esto en su método cellForRowAtIndexPath:

//Configure the cell... 
cell.textLabel.font = [UIFont systemFontOfSize:14]; //Change this value to adjust size 
cell.textLabel.numberOfLines = 2; //Change this value to show more or less lines. 
cell.textLabel.text = @"This is my text"; 
+1

exactamente lo que estoy buscando! Gracias – Yongzhi

0

No estoy seguro de si esto responde a su pregunta, pero dentro de su delegado cellForRowAtIndexPath puede establecer cell.textLabelfont a un UIFont .

1
//font size 
cell.textLabel.font = [UIFont systemFontOfSize:14]; 
Cuestiones relacionadas