Same xib for iPhone4 and iPhone5 possible?

2019-01-13 04:35发布

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

标签: xib iphone-5
8条回答
淡お忘
2楼-- · 2019-01-13 05:37

yes it is possible,enter image description here

just remove the side angle and make object free by enabling inner arrow. so it will automatically resize according to screen.

  • but remember one thing that this will only work when you provide all default or any other splash screen.

enter image description here enter image description here

查看更多
男人必须洒脱
3楼-- · 2019-01-13 05:39

You can use auto layout feature provided by apple. Please refer to apple document for this:- https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Introduction/Introduction.html

查看更多
登录 后发表回答