Upload photo with UIWebView

前端 未结 1 1813
别跟我提以往
别跟我提以往 2021-01-20 04:21

I would like to upload a photo directly from UIWebView that has a HTML form for file upload. When I click on button I get options to take photo or choose existing. But when

相关标签:
1条回答
  • 2021-01-20 04:38

    It's a bug on iOS 8, that happens when the webview is presented modally.

    The only options right now it not to present the webview modally, you can present it with a navigation controller or switching the rootviewcontroller

    Here you can read more about the bug and a proposed solution

    iOS 8 SDK: modal UIWebView and camera/image picker

    0 讨论(0)
提交回复
热议问题