Apple Documentation for UIDocumentInteractionController presentOpenInMenuFromBarButtonItem: animated method: "If there are no registered applications that support opening a document, the document interaction controller does not display a menu." In my application, I want to display a button if and only if there is an application on the device that will open it. (I want the button to open the menu to open the file, I do not want QuickLook, Copy or Print). Anyway, if there is a button, but there are no applications registered that can open the corresponding file, the user receives an unsatisfactory impression of the button that does nothing when pressed.
So - can I find out if there are any / not registered applications that support opening a certain type of document? Obviously, instances of the UIDocumentInteractionController can find this. Is there a public search API?
source share