application(_:didFinishLaunchingWithOptions:)
AppDelegate.reachfive().application(application, didFinishLaunchingWithOptions: launchOptions)
Description
Allows ReachFive to initialize the iOS SDK, by fetching information from the server about the client (e.g., default scopes, enabled features) and initializing any configured providers.
Call this method in response to the equivalent UIKit method application(_:didFinishLaunchingWithOptions:).
Examples
import Reach5
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
return AppDelegate.reachfive().application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
Parameters
| Parameter | Description |
|---|---|
The UIKit Application instance. For more details, see Apple: UIApplication. |
|
A dictionary indicating the reason the app was launched (if any). |