Adding this line
self.view.frame = [[UIScreen mainScreen] bounds];
in UITabBarControllerCustom.m in initWithViewController() removed the black bar when the application started, however when I show a modal UIViewController and come back once again the black bar appears.

( Any ideas??