简体   繁体   中英

Storyboards: auto layout for different device screens

Firstly I am begginer with ios.I have a problem which different iphone models the screen(stroyboard) is not fit regularly .I was formed storyboard by compact with Base values(eg 3.5 4 4.7 inch).İt is good on iphone 6 simulator but iphone 5 or iphone 4 it be small and the view objects sliped out of screen.What am i do?,is there any way to overcome this with easily ?I want to screen(storyboard) is fitted regularly on above iphone 4 models.

İphone 5 iphone 6s

you need to used constraints the put the object Relatively at the views . you need to read how to used constraints.

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