---
title: strictVersioning
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileproviderfetchcontentsoptions/strictversioning
---

# strictVersioning

An option that indicates the system requires an exact match of the requested item’s version.

## Declaration

```swift
static var strictVersioning: NSFileProviderFetchContentsOptions { get }
```

## Discussion

Discussion If the system includes this option when calling your fetchPartialContents(for:version:request:minimalRange:aligningTo:options:completionHandler:) method, you must provide the requested version of the item. If you can’t provide the requested version, pass a NSFileProviderError.Code.versionNoLongerAvailable error to the completion handler instead.
