application(_:open:options)
AppDelegate.reachfive().application(application, open: url, options: options)
Description
Allows ReachFive to handle URLs in the following format:
-
reachfive-clientId://
Additionally, the method allows configured providers to handle their own native links.
Call this method in response to the equivalent UIKit method application(_:open:options)
.
Examples
import Reach5
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
return AppDelegate.reachfive().application(app, open: url, options: options)
}
}
Parameters
Parameter | Description |
---|---|
The UIKit Application instance. For more details, see Apple: UIApplication. |
|
The URL resource to open. |
|
A dictionary of URL handling options. For more details, see Apple: _:open:options:. |