View Controller Tracking

Note: This applies to iOS Native only.

You can track ViewControllers using the API below:

CODE
Instrumentation.TrackViewControllerDidAppear(this);
//and
Instrumentation.TrackViewControllerDidDisappear(this);

Example

JSON
public partial class MyViewController : UIViewController
{
...
public override void ViewDidAppear(bool animated)
{
base.ViewDidAppear(animated);
Instrumentation.TrackViewControllerDidAppear(this);
}
public override void ViewDidDisappear(bool animated)
{
base.ViewDidDisappear(animated);
Instrumentation.TrackViewControllerDidDisappear(this);
}
}