0-03-27 selectedAttributedString WebKit WebDocumentText 10.2 選択中の属性付き文字列を返します 解説 選択中の属性付き文字列を返します。 返り値 ( NSAttributedString * ) 引数 フレームワーク WebKit クラス WebDocumentText Instance Methods 使用可能 10.2 参照 -selectedString 例文 id result = (id <WebDocumentText>)[[[theWebView mainFrame] frameView] documentView] ; NSLog([[result selectedAttributedString] description]);