Open vitasapple opened 6 years ago
UIlabel放在UIscrollview上,当UIlabel的内容很多,并且有很多换行符\n的时候,滑动scrollview就会非常的卡,最低掉帧掉到个位数,但是如果没有换行符的话就不会掉帧掉的太厉害,请问这是为什么呢,有办法优化吗
不要用scrollview,用tableview.headerView试试
UIlabel放在UIscrollview上,当UIlabel的内容很多,并且有很多换行符\n的时候,滑动scrollview就会非常的卡,最低掉帧掉到个位数,但是如果没有换行符的话就不会掉帧掉的太厉害,请问这是为什么呢,有办法优化吗