IOS Document Type / File Type - UTI Wildcard?

I have an application that is a general file manager. I would like to see Open in ... functionality present in applications using QLPreviewController, UIDocumentInteractionController etc. to be able to send applications to any type of file.

I created a document type, but does "Types" have the value "*", "public. *" Or similar combinations. I can’t get the application to appear for non-specific cases (it works if, for example, I change UTI to com.adobe.pdf).

In Mac OS X, you can configure the application as a general view of all file types - is this not possible in iOS?


EDIT

Looking through the documents, I found that there are only a few primitive types of UTI, from which everyone else inherits

public.item
public.content 
public.database
public.calendar-event
public.message 
public.contact 
public.archive 
public.url-name
public.executable
com.apple.resolvable 

Of these, many will obviously never be file instances.

Maybe I was too ambitiously trying to create a template test: I tried public.item and it worked on a PDF file from mail. Since the docs state that public.item is the "base type for the physical hierarchy", this may mean that it is a wildcard, that is, "public.item = *"

In the worst case scenario, I could add an element, content, database and archive and hope for the best. The best scenario, the subject covers everything.

+5
source share
2 answers

public.item works for every type I've tried so far.

+5

UTI , . ( ) public.data + public.content. ( ) public.item + public.content.

, Dropbox.app: http://www.cocoanetics.com/2013/01/open-in-all-files/

. UTI : http://www.cocoanetics.com/2012/09/fun-with-uti/

+8

All Articles