search

Home  >  Q&A  >  body text

ios - UITableViewCell loads multiple pictures, causing an abnormal increase in memory

A single UITableViewCell loads multiple (up to 6) pictures, and pulling up and down to refresh will cause a memory explosion problem. How to solve it effectively, quickly and simply?

为情所困为情所困2728 days ago641

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-05-31 10:34:51

    Please post the code or find out the reason yourself:

    1. If the image is too large and causes memory problems, you can display it as a thumbnail.

    2. If it is a memory leak, please check the code carefully to solve it~

    reply
    0
  • Cancelreply