I was seeing memory issues as well, but in a slightly different capacity with a UIScrollView. It appears that the [UIColor scrollViewTexturedBackgroundColor] property consumes a very significant amount of memory when your UIScrollView subclass, including UIWebView, applies it as the background color.

I would recommend changing it to just a plain color like gray. I noticed a 7 MB reduction in memory as reported by the activity monitor instrument by just making that simple change.

相关文章:

  • 2021-12-31
  • 2022-02-14
  • 2021-12-04
  • 2021-11-23
  • 2021-09-05
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-02-09
  • 2021-11-19
  • 2021-07-25
相关资源
相似解决方案