Let's say I have a web app which is designed for the desktop, and I want to create simple and straightforward access for iOS. Consider it a simple form with a submit button.
Some options that would be great are:
- Redesigning the web interface for mobile
- Creating a REST-style API for access
Unfortunately neither of these options exist, so I have to create a wrapper in iOS. I have no problems creating the basic interface, authentication, etc...but now I need to be able to simulate selection of a radio button, maybe filling in a few fields, and clicking submit.
I'd like to capture those details in a native iOS interface (already done), and submit over the wire...the only practical theory I've heard of is to collect that info, pass it to a hidden UIWebView, and execute some JavaScript from the UIWebView...but I don't see any examples here, plus I want to make certain I'm on the right path.
Any ideas?