iPhone:将文件从Mac / PC传输到应用程序 [英] iPhone : Transfer of files from Mac/Pc to app

查看:322
本文介绍了iPhone:将文件从Mac / PC传输到应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将二进制文件从我的PC / Mac传输到我的应用程序。我想让我的用户上传声音文件。我将不得不运行一个Web服务器,用户可以通过无线连接?



我必须通过什么步骤来启动和运行? 在我的应用程序中,我使用了开源的 p / cocoahttpserver /rel =nofollow noreferrer> cocoahttdserver 。在您的应用程序中设置并从使用相同网络的计算机进行连接是非常简单的。他们有一个iPhone示例项目,您可以从中剪切和粘贴基本功能。


I need to transfer binary files from my pc/mac to my app. I want to allow my users to upload sound files. Am i going to have to run a web server that the user can connect to over wifi?

What are the steps i have to go through to get this up and running?

解决方案

In my apps, I use the open-source cocoahttdserver. It is quite trivial to setup in your app and connect to from a computer using the same network. They have an iPhone sample project that you can pretty much cut and paste from for basic functionality.

这篇关于iPhone:将文件从Mac / PC传输到应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆