Programmatically Take Screenshots
- Objective-C
-
[ADEumInstrumentation takeScreenshot]; - Swift
-
ADEumInstrumentation.takeScreenshot()
Disable Screenshots
- Objective-C
-
ADEumAgentConfiguration *config = [[ADEumAgentConfiguration alloc] initWithAppKey: <#EUM_APP_KEY#>]; config.screenshotsEnabled = NO; [ADEumInstrumentation initWithConfiguration:config]; - Swift
-
let config = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>); config.screenshotsEnabled = false; ADEumInstrumentation.initWith(config);