Splunk MINT SDK for iOS (Legacy)

Splunk MINT SDK for iOS Developer Guide

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of MintIOSSDK. Click here for the latest version.
Acrobat logo Download topic as PDF

Track views

In an iOS application, Splunk MINT automatically tracks the views a user accesses. As soon as a user initializes your app, Splunk MINT captures the render time of a view, the current and previous view of a user (relative to an error), and the time a user spends on a view.

Splunk MINT does not automatically track alert views. To track alert views, configure the log view manually.

//Objective C

LimitedExtraDataList* limitedCrashExtraData = [LimitedExtraDataList new];
[limitedCrashExtraData add:[[ExtraData alloc] initWithKey:@"TestKey" andValue:@"TestValue"]];
[[Mint sharedInstance] logViewWithCurrentViewName:@"TestView" limitedExtraDataList:limitedCrashExtraData];
//Swift

let datalist = LimitedExtraDataList()
datalist.add(ExtraData(key: "TestKey", andValue: "TestValue"))
Mint.sharedInstance().logViewWithCurrentViewName("TestView", limitedExtraDataList: datalist)
Last modified on 20 April, 2015
PREVIOUS
Add breadcrumbs to crash reports
  NEXT
Report user-specific data

This documentation applies to the following versions of Splunk MINT SDK for iOS (Legacy): 4.2.x, 4.3.x, 4.4.x


Was this documentation topic helpful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters