Search code examples
iosobjective-cios8document-provideruidocumentpickervc

How to use Document Provider Extension?


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?


Solution

  • 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