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

If you have a `UITabBarController` as your apps initial view controller, then the message view is positioned wrong. Added UITabBarController check, with additional check to see if status bar is shown.