iOS WebView File Upload

I have discovered that the UIWebView elements in IOS do not support the html element:

<input type="file">

I am not sure why Apple chose to not support this IMPORTANT html element, but I am sure they have their reasons. (Even though this element works perfectly on Safari on IOS.)

In many cases, when the user clicks this kind of button in a UIWebView, it will let them take/ choose a photo. HOWEVER, the UIWebView in IOS does not have the capability to attach files like this into the POST data when the form is submitted.

The Solution: To accomplish the same task you can create a similar form in InterfaceBuilder with a button that triggers the UIImagePickerController. Then, you create you an HTTP POST request with all of the form data and the image. It isn't as hard as it sounds, check out the link below for some sample code that gets the job done: ios Upload Image and Text using HTTP POST

(source description: [url removed, login to view])

Taidot: iPhone

Näytä lisää: ios-webview, ios 8 iphone, apple ios 8, iphone, objective c, ios, upload file server ios, android upload file webview, upload file php ios, upload file image video audio flash, php upload file preview image, code upload file image, code upload file image page asp, virtuemart image upload file, php mysql upload file image, upload file image php mysql

Tietoa työnantajasta:
( 25 arvostelua ) Freiburg, Germany

Projektin tunnus: #7984820

Myönnetty käyttäjälle:


Hi, I can upload file on your server with iOS POST request i need small detail and need web service to develop. I also need some detail like how and where i need to submit file. Thanks, Bhautik

$55 USD 3 päivässä
(0 Arvostelua)

8 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi, We are interested to work with techie like you. Will you please have a glance over our portfolio- [login to view URL] Can you please share if theres anything more to do? Thanks

$150 USD 3 päivässä
(124 arvostelua)

How are you? I really want to work for you. I'm Soft developer and expert. I have rich development experience and have developed many apps. If you choose me, I will do my best for you. I already read your proposal Lisää

$211 USD 3 päivässä
(17 arvostelua)

Hello! I'm skilled iOS developer and interested in your task. I read your description and everything is clear for me. I can complete your task for 1 day (I think it will take 3-4 hours) and bugs-free. I can start work Lisää

$150 USD 1 päivässä
(11 arvostelua)

Hello Sir/Madam, Hoping you are good. I've read the requirements clearly. I can complete this task. There are certain work around which can be done for this. Ping me in case if you need further information from m Lisää

$45 USD 2 päivässä
(22 arvostelua)

Hello NO MILESTONE NO UPFRONT PAY ME AFTER DELIVERY OF THE APP ... Experienced and enthusiastic Mobile Application Developer having more than 5 year of experience in developing apps for several client around the Lisää

$200 USD 3 päivässä
(6 arvostelua)

Hi , I am having 10 years of experience in Cocoa, iOS. I have 4 years for working experience with Apple in Cupertino, US. I will develop world class iOS app for your requirement. Regards, KPTECH

$155 USD 3 päivässä
(3 arvostelua)

I am passionate software developer with over 4-year experience working with various technologies. Building interactive and commercially successful apps. I am interested to work with individuals and companies who has i Lisää

$250 USD 6 päivässä
(5 arvostelua)

A proposal has not yet been provided

$111 USD 3 päivässä
(1 arvostelu)

A proposal has not yet been provided

$222 USD 3 päivässä
(0 arvostelua)

Greetings Hiring Manager I have read your job description carefully and I feel that I would be a good fit for what you are looking for. I have vast experience in Android and IOS development. You can see my recent Lisää

$111 USD 7 päivässä
(0 arvostelua)