Can not upload photo in UIWebview.

ℹ PLATFORM AND VERSION

  • iOS
  • XCode Version 8.2.1 (8C1002)
  • Mac OS Version 10.12.3(16D32)
  • MacBook Pro (15-inch, Mid 2010)
  • iPhone 6 (iOS 10.2.1)


ℹ DESCRIPTION OF PROBLEM

My file upload page(http://dream.weisure.co.kr/image_test.php) working well in browser. but not working in UIWebview.

When tapping the file chooser button, the user is presented with an action sheet asking them to choose between their Photo Library and iCloud. Select a photo in Photo Library. Then the web page must display the name of selected photo.


There are many questions and answers for this issue. (like this ... http://stackoverflow.com/questions/25942676/ios-8-sdk-modal-uiwebview-and-camera-image-picker, and https://forums.developer.apple.com/thread/22726) but still it's not working. I contacted Apple Developer Technical Support. But they replied, "For questions about content displayed in WebKit/UIWebView, including CSS, JavaScript and HTML, or questions about Safari, we ask that you please post your inquiry to the Apple Safari and Web Development Forum. (...) While a Technical Support Incident (TSI) was initially debited from your Apple Developer Program account for this request, we have assigned a replacement incident back to your account."



ℹ STEPS TO REPRODUCE

1. Access http://dream.weisure.co.kr/image_test.php from Webview.

2. Tapping the file chooser button, the user is presented with an action sheet asking them to choose between their Photo Library and iCloud.

3. Select a photo in Photo Library. Then the web page must display the name of selected photo.

Note that with your listed specifications, webview is deprecated. You should be using WKWebView now, instead.


Ignore those links that mention iOS 8, etc., they are not your freind.

Can not upload photo in UIWebview.
 
 
Q