关于热点适配问题

2017-03-01  本文已影响18人  Mustard_Buli

最近在开发的过程中,测试提了一个这样的bug:『当开启热点的时候,屏幕显示不完整。』


出现问题了

解决方案##

  1. 把绝对布局变为 autoLayout 。
  2. 使用通知进行重新布局。

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(statusBarDidChanged) name:UIApplicationDidChangeStatusBarFrameNotification object:nil];

上一篇 下一篇

猜你喜欢

热点阅读