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

URLByAppendingPathExtension:

Returns a new URL made by appending a path extension to the original URL. あるパス拡張子を元のURLに追加することによって作られる新しいURLを返します。

Declaration 宣言

- (NSURL *)URLByAppendingPathExtension:(NSString *)pathExtension;

Parameters パラメータ

pathExtension

The path extension to add to the URL. URLに加えるパス拡張子。

Return Value 戻り値

A new URL with pathExtension appended. pathExtensionを追加された状態での新しいURL。

Discussion 議論

If the original URL ends with one or more forward slashes, these are removed from the returned URL. A period is inserted between the two parts of the new URL. 元のURLが1つ以上のフォワードスラッシュで終わりならば、それらは返されるURLから取り除かれます。ピリオドが、新しいURLの2つの部分の間に挿入されます。

See Also 参照

Modifying and Converting a File URL ファイルURLを修正および変換する