18-03-14 supportsTextEncoding WebKit WebDocumentText 10.2 テキストエンコーディングをサポートするかを返します 解説 テキストエンコーディングをサポートするかを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク WebKit クラス WebDocumentText Instance Methods 使用可能 10.2 参照 例文 id result = (id <WebDocumentText>)[[[theWebView mainFrame] frameView] documentView] ; ([result supportsTextEncoding])? NSLog(@"YES") : NSLog(@"NO") ;