<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/url-session-task-priority",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "URL session task priority"
}
-->

# URL session task priority

Constants for providing task priority hints to a host, used with the [`priority`](/documentation/Foundation/URLSessionTask/priority) property.

## Topics

### Priority constants

[`NSURLSessionTaskPriorityDefault`](/documentation/Foundation/URLSessionTask/defaultPriority)

The default URL session task priority, used implicitly for any task you have not prioritized.

[`NSURLSessionTaskPriorityLow`](/documentation/Foundation/URLSessionTask/lowPriority)

A low URL session task priority, with a floating point value above the minimum of `0` and below the default value.

[`NSURLSessionTaskPriorityHigh`](/documentation/Foundation/URLSessionTask/highPriority)

A high URL session task priority, with a floating point value above the default value and below the maximum of `1.0`.



---

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)