iOS7新特性適配

解決方法1:ios

導航欄設置爲不透明ui

self.navigationController.navigationBar.translucent = NO;.net

頁面會向下壓縮如同iOS6向下壓縮self.view的高同樣blog

---------------------------------------------------------------------------------------------------------------------------------------io

解決方法2:ios7

設置不滾動float

if ([[[UIDevice currentDevice]systemVersion]floatValue]>=7.0) {
  self.automaticallyAdjustsScrollViewInsets = NO;
}方法

頁面不會向下壓縮call

 

---------------------------------------------------------------------------------------------------------------------------------------view

ios7適配方案鏈接以下:

http://blog.csdn.net/chengwuli125/article/details/12613897

http://blog.csdn.net/chengwuli125/article/details/12617657?utm_source=tuicool

相關文章
相關標籤/搜索