I do have some image files(.png files) in document directory(iPhone). I am viewing web forms(.aspx) on the UIWebView. when I click on the submit button of the form, i just want to attach the image file to the form and wants to send that file to the web server along with the web form.
The thing I m suffering from is, i am not getting how to attach an image file to the web form and how to submit those two.
Kindly help me out of this. I am not getting any of the hint how to do it.
Thanking you….
You will need to modify these examples to work for you, but they are working examples.
Objective-C
MyViewController.m:PHP
upload.php: