<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionView/isPrefetchingEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionView(py)prefetchingEnabled"
  },
  "title" : "isPrefetchingEnabled"
}
-->

# isPrefetchingEnabled

A Boolean value that indicates whether cell and data prefetching are enabled.

```
var isPrefetchingEnabled: Bool { get set }
```

## Discussion

When <doc://com.apple.documentation/documentation/Swift/true>, the collection view requests cells in advance of when they will be displayed, spreading the rendering over multiple layout passes. When <doc://com.apple.documentation/documentation/Swift/false>, the cells are requested as they are needed for display, often with multiple cells being requested in the same render loop. Setting this property to <doc://com.apple.documentation/documentation/Swift/false> also disables data prefetching. The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>.

> Note:
> When prefetching is enabled the ``doc://com.apple.uikit/documentation/UIKit/UICollectionViewDataSource/collectionView(_:cellForItemAt:)`` method on the collection view delegate is called in advance of when the cell is required. To avoid inconsistencies in the visual appearance, use the ``doc://com.apple.uikit/documentation/UIKit/UICollectionViewDelegate/collectionView(_:willDisplay:forItemAt:)`` delegate method to update the cell to reflect visual state such as selection.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)