URLHandleUsingCache:
URLHandleを返します
-(NSURLHandle *)URLHandleUsingCache:(BOOL)shouldUseCache:
解説
URLHandleを返します。
返り値
( NSURLHandle * )
URLハンドル
引数
( BOOL )shouldUseCache
YES/NO
フレームワーク
Foundation
クラス
NSURL
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSURLHandle *uHandle; NSURL *url = [NSURL fileURLWithPath:@"/"]; uHandle = [url URLHandleUsingCache:NO]; NSLog([NSString stringWithFormat:@"%@",[uHandle failureReason]]); } @end