用ego下拉刷新的时候,每次在ios7时,tableview都会上移。。。导致被navagationbar挡住。
ios6是正常的,于是在init的时候添加如下代码。。。
1 NSComparisonResult order = [[UIDevice currentDevice].systemVersion compare: @"7.0" options: NSNumericSearch];
2 if (order == NSOrderedSame || order == NSOrderedDescending)
3 {
4     // OS version >= 7.0
5     self.edgesForExtendedLayout = UIRectEdgeNone;
6 }

 

转自:http://www.cnblogs.com/x1957/archive/2013/09/29/3345264.html

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2021-11-23
  • 2021-12-28
猜你喜欢
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2021-09-12
  • 2021-09-27
  • 2022-01-11
相关资源
相似解决方案