- (void)application:(UIApplication *)application didChangeStatusBarFrame:(CGRect)oldStatusBarFrame
{
float height = application.statusBarFrame.size.height;
CGRect frame = self.mainCtrl.tabView.frame;
if (height > 20.0) {
frame.origin.y = kDeviceHeight - 49 - 20;
} else {
frame.origin.y = kDeviceHeight - 49;
}
self.mainCtrl.tabView.frame = frame;
}