Function CFURLClear Resource Property Cache(_:)
Removes all cached resource values and temporary resource values from the URL object.
iOS 4.0+ macOS 10.6+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 2.0+ Declaration func CFURLClearResourcePropertyCache( _ url: !)
This method is applicable only to URLs that represent file system resources.
The caching behavior of the
APIs differ. For
, all cached values (not temporary values) are automatically removed after each pass through the run loop. You only need to call the
NSURL CFURL method when you want to clear the cache within a single execution of the run loop. The
functions, on the other hand, do not automatically clear cached resource values. The client has complete control over the cache lifetimes, and you must use
CFURL or CFURLClear Resource Property Cache For Key(_: _:) to clear cached resource values. CFURLClear Resource Property Cache(_:) See Also Getting and Setting File System Resource Properties
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software