Is it possible to populate HTML form field data in an iPhone UIWebView using external accessory fram
- by Jon Smallberries
I have an iPhone app where I'd like to load a remotely served HTML form into a UIWebView and then populate that form as data becomes available from an external accessory using the "External Accessory Framework." Right now the data is entered by hand. The proposed flow is:
Fetch an HTML page containing a form and put it into a UIWebView
When data becomes available from the external accessory, populate the form field(s)
Submit the form
Is it possible to do this by "injecting" data from the external accessory into the UIWebView when all required data has been retrieved from the external accessory? I cannot seem to find any good examples on how to use the external accessory framework to achieve this.