A hint to the system of the relative priority of the resource request.
SDKs
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
var loadingPriority: Double { get set }
Discussion
Possible values are between 0
and 1
or the special constant NSBundle
. The default is 0
. The system will attempt to give higher priority to requests with higher values. You can change the priority at any time, including during downloading of the managed resources.