Configuring MaestroKit
When your app launches, it should immediately configure the MaestroKit framework.
Functions
static func configure(siteID: String)
Parameters
siteID
: The unique identifier for your Maestro Site.
Sample Usage
- SwiftUI
- UIKit
@main
struct MyApp: App {
init() {
MaestroKitManager.configure(siteID: "my-site-id")
}
}
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions[UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
MaestroKitManager.configure(siteID: "my-site-id")
return true
}
}