iOS SDK - Tracking views
Tracker will listen to views appear/dissapear events.
Adding tracked views
Section titled Adding tracked viewsSwiftUI
Section titled SwiftUIuse .observeView(title:viewName:)
to observe input events,
title: String
- screen or feature titleviewName: String
- name of the tracker view
import ORTracker
TextField("Input", text: $text)
.observeView(title: "Screen title", viewName: "test input name")
UIKit
Section titled UIKitimport ORTracker
Analytics.shared.addObservedView(view: inputEl, title: "Screen title", viewName: "test input name")