renewalDate
The date at which a new resource loading request will be issued for resources that expire, if the media system still requires it.
Declaration
var renewalDate: Date? { get set }Discussion
If the asset resource is prone to expiry set the value of this property to the date at which a renewal should be triggered. You must do this before you finish loading an AVAssetResourceLoadingRequest object. This value must be set sufficiently early enough to allow an AVAssetResourceRenewalRequest, delivered to the delegate’s resourceLoader:shouldWaitForRenewalOfRequestedResource: method ß to finish before the actual expiry time, otherwise media playback may fail.