iPhone中的应用程序间通信 [英] Inter application communication in iphone

查看:59
本文介绍了iPhone中的应用程序间通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道是否有任何方法可以从iphone中的应用程序外部访问文档.例如,我希望能够将Word文档从邮件发送到我的应用程序.我怎样才能做到这一点?

I just wanted to know if there is any way to access a document from outside the application in iphone. For instance, I want to be able to send a word document from mail to my application. How can I achieve this?

提前谢谢!

推荐答案

iPhone应用已沙箱化. iPhone SDK不允许您走出沙盒

iPhone Apps are sandboxed. iPhone SDK does not allow you to go out of your sandbox

简而言之,当您构建应用程序时,将为您创建一个文件夹,Apple不会为您提供访问该文件夹之外的任何内容的权限.您所有的资源都限制在该文件夹内.

In simple terms when you build a application there will be a folder created for you and Apple doesnt provide you to access anything that is outside of that folder. All your resources are confined inside that folder.

但是您可以访问某些特定项目,例如通讯簿,照片库.但绝对不是邮件.

But you can access some of specific items such as Address Book, Photo Library. But definitely not mails.

这篇关于iPhone中的应用程序间通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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