Same xib for iPhone4 and iPhone5 possible?

前端 未结 8 615
不思量自难忘°
不思量自难忘° 2020-12-04 17:03

Is there any way I can design my classes for both iPhone4 and iPhone5 using the same xib?

8条回答
  •  一生所求
    2020-12-04 17:53

    Add a image named Default-568h@2x.png. That will identify your app as one that supports iPhone 5 metrics. And also you need to do auto sizing of your views properly.

    enter image description here

提交回复
热议问题