Need way to customize keyboard for embedded UIWebView

Originator:axiixc
Number:rdar://10981330 Date Originated:04-Mar-2012 06:16 PM
Status:Duplicate/9844216 Resolved:
Product:iPhone SDK Product Version:iOS <= 5.1
Classification:Feature (new) Reproducible:Always
 
Summary:

UIWebView gives no access to any keyboard customization beyond the HTML attributes for inputs. When embedding a web view in an app I would like to be given the control offered by components such as UITextField. Specifically the ability to remove or change the keyboard's accessory view.

Steps to Reproduce:

Search the developer documentation for some way to override keyboard properties within SDK restrictions.

Expected Results:

Have some way to take control of said properties.

Actual Results:

Find lots of unofficially ways that violate the SDK to do it, but none that I can actually ship. Cry a little.

Regression:

Especially since using UIWebView was promoted as a good way to write a Rich Text editor with the WWDC 2011 video "Rich Text Editing in Safari on iOS", I think this is a really good feature to add. Otherwise I need to roll my own editor just to get bold and italic styles, which would be crazy overkill. And since I suspect you're using features such as execCommand and a UIWebView for Mail's editor, I would really appreciate having the same functionality available to me.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!