I am developing an application that target iOS6+.
I have a text view with with large attributed text. Maybe 1000 lines odd lines red color and other lines green color.
I use below code for changing the font size of the textview:
self.doaTextView.editable= YES; self.doaTextView.font = [UIFont systemFontOfSize:self.FontSilder.value]; self.doaTextView.editable= NO;
but it takes much time. It is about 2 second on iOS 7 and about 5-10 second on iOS 6!!!
(I enable and disable
editable feature, becasue if I do not do this the changes not appear in iOS 6. Please see here)
What is the problem?
I found this topic related to this problem too. Really there is not any solution for this?