setPlugInsEnabled:
プラグインを使用可能かをセットします
-(void)setPlugInsEnabled:(BOOL)flag:
解説
プラグインを使用可能かをセットします。
返り値
( void )
なし
引数
( BOOL )flag
クラス
WebPreferences
Instance Methods
使用可能
10.2
参照
-arePlugInsEnabled
例文
- (IBAction)myAction:(id)sender { WebPreferences *webPref = [theWebView preferences]; [webPref setPlugInsEnabled:YES]; ([webPref arePlugInsEnabled]) ? NSLog(@"YES") : NSLog(@"NO"); }