hide other apps from my app: objective c - ios

I have an app that downloads pdf documents and I have used UIDocumentInteractionController to give the user the option of opening them in other apps. I however have one app that I don't want the user to be able to view in the "Open In" list. That app is called NotCoolApp. Is there a way I can list the names of apps that I don't want my app to see, plist maybe?

Related

How to get listed in the share menu of the Photo App?

I know that in order to get my App listed under the share menu all I have to do is add the Document Types my App supports but it does not work for the "Photos App" for some reason, my App is never shown under this menu.
But if I send an image to my Email and then open it, then tap on Share and my App is right there, what type of document is required for the Photos App then? I added this so far:
public.content
public.jpeg
public.png
public.heic
public.image

Open link from DropBox app to My App

Is there any way to open link from dropbox app to my own App ?
I want to play audio file from dropbox app to my app.
Thanks.
The solution for this isn't specific to Dropbox.
You need to setup your app to indicate that it can open certain types of files (such as audio files). Once you do that, then any app, such as the Dropbox app, that offers an "Open In" option for those types of files will show your app as one of the options.
To learn how to register your app for certain types of files, see How do I associate file types with an iPhone application?

Open app through email without choosing from menu

I have a custom file type that needs to be opened within our app, but when I tap the file, a menu is presented asking if I want to open the file in Messages, Mail, Slack, Notes, and then our application. How can I get it so that the app opens automatically? Or at least get our app to the front of the list of possible applications.
you can't remove other apps from being able to open the UTI.
you can't influence the order of apps in the dialog
===
IF that is our own filetype, change the file's UTI ;)

Switching between apps with URL Schemes (iOS)

I'm developing an iPhone app with Swift which acts on certain file types (.xml &.zip). I've added these filetypes to the project file as a UTI (Uniform Type Identifiers). When accessing these sorts of files, usually from my email, I press and hold the file and a menu pops up from below. I choose my app icon that says "Open in MyApp". Is there a way that I can return to the email which triggered this event from within the app?
I've done some research on this and found that URL Schemes are the best way for inter - app communication, but you cannot arbitrarily open an app just to open it.
https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/UTIRef/Introduction/Introduction.html
The vision I have in mind is sort of how Google apps communicate with each other. For example, when opening a link from gmail, it switches apps to chrome. When chrome loads, the page back navigator is in Chrome displays the text similar to "back to gmail"
In iOS 9 the system implements this automatically, as seen in this screenshot here.

ios open third party app within my own app

I am new to ios.In my app we have documents like PDF,.DOC if we click that document means it will check wheather any third party app is installed in device or not.if any app installed (Ex.PDF Reader)the document is open that app.After opening the document suppose if user close the app i want to navigate to my APP
How to do that?
You could use apples PDF Kit and open the pdf within your own app that should give you the control you want.
https://developer.apple.com/library/mac/documentation/GraphicsImaging/Conceptual/PDFKitGuide/PDFKit_Prog_Intro/PDFKit_Prog_Intro.html#//apple_ref/doc/uid/TP40001863-CH203-SW1

Resources