diff --git a/Sources/Amplitude/UIViewController+AMPScreen.m b/Sources/Amplitude/UIViewController+AMPScreen.m index eb5fdf0d..fd3eb10b 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,8 @@ - (void)amp_viewWillAppear:(BOOL)animated { NSLog(@"**********view will appear**********"); //NSLog(@"Screen changed!"); - +*/ + NSString *name = @"test123"; printViewHierarchy(self.view, 0); /*