官方问题答案:https://developer.apple.com/library/ios/qa/qa1797/_index.html

 官方建议: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/TransitionGuide/SupportingEarlieriOS.htm

 

总结:

IOS 7 UI 的适配

IOS 7 UI 的适配

    官方的建议方式就是两种 :1,通过 autolayout。 (ios 6+)。

              2,(个人推荐 )通过设置每个需要控制的 view 的offset (  ios 5.0 +).

  看来以后纯代码写界面比较行不通了,用IB 可以比较直观的制作出 在同一个app里 适应不同ios版本,不同分辨率 的界面。

 

相关文章:

  • 2022-01-04
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-02-21
  • 2021-05-23
  • 2021-05-04
猜你喜欢
  • 2022-12-23
  • 2021-05-27
  • 2021-09-04
  • 2021-12-30
  • 2021-10-29
  • 2021-07-23
  • 2022-12-23
相关资源
相似解决方案