If I click on a file icon inside the Files app, it opens the app associated with that file type (so if I click on a text file, it opens the app associated with text files).
The question is: *what* method of this app is it calling?
According to breakpoints I have placed in my apps, it is not:
application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?)and it is not:
application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:], completionHandler: ((Bool) -> Void)? = nil)Both of which were my main guesses.
It does call the app, because the app moves to the foreground. But with which method?