Added UITabBarController check, with additional check to see if statusbar is shown.