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

上一篇:Elasticsearch 学习笔记 Elasticsearch及Elasticsearch head安装配置


下一篇:ELK学习实验016:filebeat收集tomcat日志