autolayout - iOS : Size classes issue -
i'm creating ui using size classes. can see in below picture , there's issue iphone 6 plus . please iphone 4s creates mess. tell me if ui correct?
image description:
hope helps!!
select login merchant button, blue , pink button or label , put them in stack view vertical axis. name (bottom stackview) put proper spacing between them.
if image height not fixed make relative device height, means create height constraint of imageview = (1/3)height of mainview.
also can take label , textfield username in horizontal stackview combine both textfiled (username , pass) , label in vertical stackview.
make vertical constraints greater equal 20 between bottom stackview , center stackview.
this give better result in screens.
in case if don't use stackview then,
combine bottom 3 button in singleview (bottomview) , upper textfields , labels in singleview (centerview).
then set vertical spacing s greater equal 20 between them.
make image height relative screen size described above.
Comments
Post a Comment