diff --git a/Pod/Classes/TSMessage.m b/Pod/Classes/TSMessage.m index 02deac66..2df86d4b 100755 --- a/Pod/Classes/TSMessage.m +++ b/Pod/Classes/TSMessage.m @@ -254,6 +254,10 @@ - (void)fadeInCurrentNotification else { CGFloat y = currentView.viewController.view.bounds.size.height - CGRectGetHeight(currentView.frame) / 2.0; + if (!currentView.viewController.tabBarController.tabBar.hidden) + { + y -= CGRectGetHeight(currentView.viewController.tabBarController.tabBar.bounds); + } if (!currentView.viewController.navigationController.isToolbarHidden) { y -= CGRectGetHeight(currentView.viewController.navigationController.toolbar.bounds);