iOS通过wifi上传文件到应用程序 [英] iOS upload files over wifi to app
本文介绍了iOS通过wifi上传文件到应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的想法是,iPhone应用程序创建一个HTTP服务器可访问通过网页浏览器显示表单上传文件到应用程序。
- 在我的应用程序中按下wifi传输选项
- 访问如下地址:192.168.0.12 :port
- 使用该页面将文件上传到我的应用程序
有什么想法吗? >
谢谢
解决方案
示例代码链接:
通过网络上传到iPhone: https://plink.ucloud.com/ public_link / link / 9ba125f02169e4e3
通过ftp上传到iPhone: https://plink.ucloud.com/public_link/link/9c53e777455a6085
I am developing an App that needs to support transfer files over a local wifi network like goodread app does.
The idea is that iPhone app creates an HTTP server accessible through a web browser displaying a form to upload files to the app.
- Press in my app the wifi transfer option
- Visit an ip address like: 192.168.0.12:port
- Upload files to my app using that page
any idea?
Thanks
解决方案
Sample code links:
upload to iPhone via web: https://plink.ucloud.com/public_link/link/9ba125f02169e4e3
upload to iPhone via ftp: https://plink.ucloud.com/public_link/link/9c53e777455a6085
这篇关于iOS通过wifi上传文件到应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文