How to use Document Provider Extension?

十年热恋 提交于 2019-12-09 11:03:38

问题


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.

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:

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?


回答1:


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

or watch the following session from WWDC

WWDC 2014 session 234

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




回答2:


I am also looking for the same. There are not very much good tutorials on this topic. I'll share Some of the links that i have found.

  1. https://github.com/D2B-Solution/DocumentPickerSample
  2. https://github.com/ikuya/DocumentProviderSample
  3. https://github.com/pavanSaberjack/PIDocumentProvider
  4. https://github.com/imayaselvan/DocumentProviderExtension


来源:https://stackoverflow.com/questions/28515706/how-to-use-document-provider-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!