change table view font
Hello,
I use a table view with many custom rows, containing a label with a certain color and font-size to show the title of a row. The other row attributes are standard things like left image and background-image.
Unfortunately the app crashes quite often when building the table view with custom rows. I usually show 50+ custom rows.
Using the default appearance of the table view instead works fine.
Can I adjust somehow table view font color/size, so i do not have to build custom rows?
Many thx,
Florian
2 Answers
-
Do you add a unique className for each type of row you are displaying ?
-
+1. You need a unique className in each row otherwise iPhone tries to reuse the row that moves out of the screen. Since the rows are not same this will cause a crash.