I am wondering if there is a way to download the file from the application home directly using UIWebview, which has an HTML form with file input.
I download this from UIWebview:
<form action="test.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form>
but the iPhone asks if I want to "take a picture" or "choose an existing one." I would prefer to select a document or image located in the local directory of the application.
Is it possible?
Thank!
I am also looking for an answer. After my own digging, it seems like the only way:
iOS " ", UIWebView .:
-
UIImagePickerController, .
POST
NSDatap >
POST NSURLConnection, NSData
, , UIWebView IOS html:
, Apple html, , . ( , Safari IOS.)
, UIWebView, / . , UIWebView IOS , , POST .
. InterfaceBuilder , UIImagePickerController. HTTP POST . , , , : ios HTTP POST
Source: https://habr.com/ru/post/1531380/More articles:Use Windows Automation to find and invoke a button that has no ancestors - c #[EndpointNotFoundException: не было прослушивание конечных точек в - web-servicesWeb site code cannot connect to the soap service on the same server - soapSetting environment variables in Jenkins with bat file? - continuous-integrationhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1531379/any-reasons-to-use-a-a-method-instead-of-the-class-own-destructor-to-clean-up-in-c&usg=ALkJrhiit64_0-HynBefTcuXpV5qQp-e2QSocket.IO Client Authentication in an Express Application - authenticationКак D разрешает делегатам параметры шаблона? - templatesAll requests are slow with neo4j - neo4jOptionally omit the selection option from the form view - htmlDynamically detect fields in peewee model - pythonAll Articles