removeCachedResourceValue(forKey:)
Removes the cached resource value identified by a given key from the URL object.
Declaration
func removeCachedResourceValue(forKey key: URLResourceKey)Parameters
- key:
The resource value key whose cached values you want to remove.
Discussion
Removing a cached resource value may remove other cached resource values because some resource values are cached as a set of values, and because some resource values depend on other resource values. (Temporary resource values have no dependencies.)
This method is currently applicable only to URLs for file system resources.