How to activate spellchecking for a contentEditable div in a UIWebView?
问题 UIWebView (iOS 5.0) does not show the red-squiggly spelling correction underlines for this: id html= @"<div spellcheck=\"true\" contenteditable=\"true\"></div>" [webView loadHTMLString:html baseURL:nil]; Is it possible to get them? 回答1: There are some HTML tag properties available by Apple Safari Guidelines autocomplete : If off, deactivates automatic completion for an input element; If on, activates automatic completion for the element. Related Tags “input” Availability Available in Safari 1