ios - iOS 7 UITextView is slow after typing lots of text

后端 未结 2 991
说谎
说谎 2021-02-12 16:01

I\'m having trouble with a slowdown that occurs in UITextView on iOS 7 when typing lots of text. I put a tracer in NSLayoutManager and identified that drawGlyphsForGlyphRange ru

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-12 16:22

    Turn off Background App Refresh in Settings General. Also, get rid of NSLog--they slow down beyond what it takes them to print.

    I was able to reproduce the slow down effect on iPad under IOS7. In fact IOS6 did not have Background App Refresh.

    I believe Apple aims for top of the line models, all others have to adjust.

提交回复
热议问题