func application()

in sampleapp-ios-swift/AppDelegate.swift [12:24]


    func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        
        // Enabled App Center SDK verbose logs
        AppCenter.logLevel = .verbose
        
        AppCenter.start(withAppSecret: "<APP SECRET HERE>", services: [
            Analytics.self,
            Crashes.self,
        ])
        
        return true
    }