Just how to say, I got his job :).
For those who want hints and are in my place, look for hidden fields in forms well or check this site http://www.echoecho.com/htmlforms07.htm
and this post to see what i mean
http://www.iphonedevsdk.com/forum/148450-post14.html
For those who just want a more direct answer, keep reading, but please read the iphonedevsdk link, which was a fundamental step in trying to understand the answer.
As an example, one of the hidden fields that were in the html code was the following:
<input type="hidden" name="version" id="version" value="3">
it will translate to
[request setPostValue:@"3" forKey:@"version"];
"forKey" is the "name" field in html, and "setPostValue" is the value in "html"
you can take the above thinking and apply it to simulate a button click from
<input type="submit" name="post" id="post" tabindex="56" style="width:150px;font:16px Arial;" value="Post Reply" onc...
to
[request setPostValue:@"submit" forKey:@"post"];
hope this helps others :).
source share