简体   繁体   中英

Autolayout with subview screen issue different devices

I have designed simple one page design for universal application. so I had faced issue while checking the 4 inch devices its working fine. other than 5.5 to above devices its not looking good.

View(MAINVIEW)
    ScrollView
    View
    Label
     ..
     ..

above I have mentioned the structure of the page.below I have mentioned screen shots. 在此处输入图片说明

above Screen shots image I have designed. with all constraints.

在此处输入图片说明

after that I have checked the preview of the page design. Iphone 4-inch its showing fine. but Iphone 5.5 its showing in bottom not filled whole page view.

It looks like then you have set the height constraint for ScrollView or view. If you did this then remove that height constant and set the bottom constraint which should have 0 constant value to its superview.

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