iOS 热点、通话时候TabView的Frame调整

- (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;
}

原文地址:https://www.cnblogs.com/zhujin/p/4142184.html