2010-11-19 20 views

Odpowiedz

16

Spróbuj coś takiego w swojej metodzie 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

dokładnie to, czego szukam! Dzięki – Yongzhi

0

Nie jestem pewien, czy to odpowiada na twoje pytanie, ale wewnątrz delegata cellForRowAtIndexPath można ustawić cell.textLabelfont Do UIFont .

1
//font size 
cell.textLabel.font = [UIFont systemFontOfSize:14]; 
Powiązane problemy