简体   繁体   中英

To stop reload data of UITableView

上下滚动时如何停止重新加载UITableView的数据?

A UITableView implements lazy loading. It means, that the OS loads only what you see. So, if you are scrolling up or down in a table view, the OS will load those cells. Note, that the OS reloads each cell at each appearance. This means, when you create your UITableView, not each cell of the table view will be loaded, only the visible ones. When a cell disappears after scrolling, and reappears after scrolling back, it will be reloaded again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM