setLoadsImagesAutomatically:
自動的に画像をロードするかをセットします
-(void)setLoadsImagesAutomatically:(BOOL)flag:
解説
自動的に画像をロードするかをセットします。
返り値
( void )
なし
引数
( BOOL )flag
クラス
WebPreferences
Instance Methods
使用可能
10.2
参照
-loadsImagesAutomatically
-allowsAnimatedImages
-setAllowsAnimatedImages:
-allowsAnimatedImageLooping
-setAutosaves:
例文
- (IBAction)myAction:(id)sender { WebPreferences *webPref = [theWebView preferences]; [webPref setLoadsImagesAutomatically:YES]; ([webPref loadsImagesAutomatically]) ? NSLog(@"YES") : NSLog(@"NO"); }