IOS开发屏幕适配总结

面对4个分辨率的iPhone,建议使用Auto Layout布局 + Image Assets管理各个分辨率的图片 + Interface Builder(xib+storyboard)构建UI。

autoresizing mask 当superview宽高改变时,subview该怎么变化

 

Size Classes 对屏幕的管理,将屏幕分类,执行布局的还是Autolayout

介绍:http://quding0308.iteye.com/admin/blogs/2145613

 

Image Assets 对图片的管理,图片对各个分辨率的管理,@2x,@3x

 

 

Autolayout 一个屏幕里不同view间的布局管理

介绍:http://quding0308.iteye.com/admin/blogs/2145618

 

 

 

 

猜你喜欢

转载自quding0308.iteye.com/blog/2145615