<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTSuperResolutionScalerConfiguration/downloadConfigurationModel(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:objc(cs)VTSuperResolutionScalerConfiguration(im)downloadConfigurationModelWithCompletionHandler:"
  },
  "title" : "downloadConfigurationModel(completionHandler:)"
}
-->

# downloadConfigurationModel(completionHandler:)

Downloads models that the system needs for the current configuration.

```
func downloadConfigurationModel(completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

## Discussion

This method downloads model assets required for the current configuration in background. You should call this method
if [`configurationModelStatus`](/documentation/VideoToolbox/VTSuperResolutionScalerConfiguration/configurationModelStatus) is `VTSuperResolutionScalerConfigurationModelStatusDownloadRequired`. After this
method is called, you can query [`configurationModelPercentageAvailable`](/documentation/VideoToolbox/VTSuperResolutionScalerConfiguration/configurationModelPercentageAvailable) to determine progress of model asset
download process. If the download fails, the completion handler is invoked with an `NSError`, and the
[`configurationModelStatus`](/documentation/VideoToolbox/VTSuperResolutionScalerConfiguration/configurationModelStatus) goes back to `VTSuperResolutionScalerConfigurationModelStatusDownloadRequired`. If
the download succeeds, the completion handler is invoked with `nil` NSError.

---

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)