diff --git a/Sources/Amplitude/UIViewController+AMPScreen.m b/Sources/Amplitude/UIViewController+AMPScreen.m index eb5fdf0d..18a4bbec 100644 --- a/Sources/Amplitude/UIViewController+AMPScreen.m +++ b/Sources/Amplitude/UIViewController+AMPScreen.m @@ -149,7 +149,7 @@ + (UIViewController *)amp_nextRootViewController:(UIViewController *)rootViewCon - (void)amp_viewWillAppear:(BOOL)animated { AMPLITUDE_LOG(@"self is %@", self); - UIViewController *top = [[self class] amp_rootViewControllerFromView:self.view]; + /*UIViewController *top = [[self class] amp_rootViewControllerFromView:self.view]; if (!top) { AMPLITUDE_LOG(@"Failed to infer screen"); return; @@ -167,7 +167,7 @@ - (void)amp_viewWillAppear:(BOOL)animated { NSLog(@"**********view will appear**********"); //NSLog(@"Screen changed!"); - +*/ printViewHierarchy(self.view, 0); /*