简体   繁体   中英

iPhone layouts without using auto Layout

i am new to iOS Development and working on an application. i want to handle layout for iPhone5 and iPhone6 without using auto layout.

The layout i designed

在此处输入图片说明

The layout look like on iPhone6 simulator

在此处输入图片说明

Thanks in advance.

You could use multiple XIBs/Storyboards for the layouts on different devices and check if the device is an iPhone 5 or iPhone 6 when you load the XIB/Storyboard.

This would be really cumbersome task, laying out same UI for two different devices, you may want to consider using Auto Layout at some point of time

将所有组件的出口添加到相关类,并在那里进行所有计算。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM