iOS:没有iTunes的文件共享? [英] iOS: filesharing without iTunes?

查看:928
本文介绍了iOS:没有iTunes的文件共享?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为iOS开发了一个企业应用程序,用户应该可以将文件从桌面添加到应用程序。

I develop an enterprise application for iOS and the user should be able to add files from the desktop to the application.

我使用文件共享实现了这一点,效果很好。

I implemented this using filesharing, which works great.

现在这家公司想要从他们的机器上摆脱iTunes(这是可以理解的,iTunes是一个非常具有侵入性的过程)。

Now this company wants to get rid of iTunes from their machines (which is quite understandable, iTunes is a very invasive process).

问题是,是否仍然可以在没有iTunes的情况下使用文件共享?可能还有另一个应用程序?

The question is, is it still possible to somehow use filesharing without iTunes? maybe with another application?

或者将文件发送到应用程序的其他方式(最好不需要互联网连接)

Or what other way is there to send files to the app (preferrably without the need of an internet connection)

//编辑:必须在Windows 7上运行,并且不得要求安装iTunes(还有一些其他工具允许访问iPad文件系统,但它们通过iTunes安装的驱动程序)

//edit: must work on windows 7 and must not require to install iTunes (there are some other tools that allow access to the iPad filesystem, but they go through drivers installed by iTunes)

推荐答案

您可以通过本地无线网络交换数据(不需要连接到互联网,只需要iOS设备和Windows计算机需要在同一个网络上。)

You could exchange data via the local wireless network (a connection to the internet is not required, just the iOS device and the Windows computer need to be on the same network).

一个选项:

然后,您可以在iOS应用程序和Windows应用程序之间的套接字上创建简单的TCP / IP连接,并交换所需的数据。

You can then create a simple TCP/IP connection over sockets between an iOS app and a Windows application and exchange the data you want.

但是你可能需要实现一个合适的简单Windows应用程序才能做到这一点。

However you probably need to implement a suitable simple Windows application to do this.

另一个可能更简单的解决方案:

An other, maybe simpler, solution:

您可以在iOS-App中启动网络服务器并在屏幕上显示IP。通过在台式计算机上的浏览器中输入此IP,您可以访问iOS设备上的网站,这可以使文档可供下载或接收上载。

You could start a webserver in your iOS-App and show it's IP on the screen. By entering this IP in a browser on the desktop computer you can access websites on the iOS device, which can make documents available for download or receive uploads.

有关如何执行此操作,请查看这个问题。

For how to do this, have a look at this question.

这篇关于iOS:没有iTunes的文件共享?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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