Instance Method インスタンスメソッド

removeCachedResourceValueForKey:

Removes the cached resource value identified by a given key from the URL object. 与えられたキーによって識別されるキャッシュされたリソース値をURLオブジェクトから取り除きます。

Declaration 宣言

- (void)removeCachedResourceValueForKey:(NSURLResourceKey)key;

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. このメソッドは、現在はファイルシステムリソースに対するURLにのみ適用可能です。

See Also 参照

Accessing Resource Values リソース値にアクセスする