如何使用文档提供程序扩展? [英] How to use Document Provider Extension?

查看:112
本文介绍了如何使用文档提供程序扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习更多关于ios扩展的内容,例如:

I was learning a little more about ios extensions, such as:


  • 今天扩展

  • 照片编辑分机

  • 动作分机

  • 自定义键盘分机

  • Today Extension
  • Photo editing Extension
  • Action Extension
  • Custom keyboard Extension

在所有这些中我没有学习上的困难,但最近我尝试学习文档提供者扩展,并且我惊讶地发现在互联网上没有找到任何相关的教程如何使用它(步骤和其他人一样步。)

In all of them I did not have difficulties in learning, but recently I try to learn the "document provider extension", and to my surprise not found any relevant tutorial on the Internet talking about how to use it (step by step as the others).

我找到的唯一选择是使用文档,我了解到他可以从其他应用程序访问共享文档,你也可以分享你的在您的应用程序中拥有现有文档。

The only alternative I found was use the documentation, and I learned that he can access shared documents from other applications, and you can also share your own existing documents within your app.

我在网上找到的唯一教程是网站 MacStories 但是他使用的是iCloud,而且这次我不想使用iCloud,我想要做文档说:

The only tutorial I found on the net was the site MacStories but he use iCloud, and in this time I not want to use iCloud, I want do to like documentation says:


允许其他应用访问您应用管理的文档(不使用iCloud)

allows other apps to access the documents managed by your app (Without iCloud)

在我的情况下,我已经知道提供者文档扩展是如何工作的,因此设法创建了一个新的目标类型文档提供者扩展,并且只有这一点。有人知道这个扩展是如何工作的吗?

In my case I already know how the "provider document extension" works, and so managed to create a new target type "document provider extention" and only that. Anyone know how this extension work?

推荐答案

http://developer.xamarin.com/guides/ios/platform_features/introduction_to_the_document_picker/

或从WWDC观看以下会议

or watch the following session from WWDC

WWDC 2014 session 234

WWDC 2014 session 234

同样最好的一个可能是ios8的教程预订在raywanderlich.com上,但这个不是免费的

Also one of the best could be ios8 by tutorials book on raywanderlich.com but this one is not free

这篇关于如何使用文档提供程序扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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