analytics-ios icon indicating copy to clipboard operation
analytics-ios copied to clipboard

Automatic screen tracking tracks any view controller in a `UINavigationController` or `UITabBarController` twice

Open simondelphia opened this issue 3 years ago • 0 comments

Any view controllers that I have inside of a UINavigationController or UITabBarController are tracked twice. Once via the viewDidAppear of the parent, and once via the viewDidAppear of the child view controller. In both cases the screen in seg_trackScreen is the child view controller type. Can only distinguish the calls by putting a breakpoint and looking at the call hierarchy.

Is there any way to prevent this double tracking?

image

simondelphia avatar Apr 21 '22 14:04 simondelphia