iOS: autolayout for multiple button

前端 未结 2 1166
一个人的身影
一个人的身影 2020-12-20 07:10

In my app I have a view for 4 inch screens in this way:

\"enter

And then I wan

相关标签:
2条回答
  • 2020-12-20 07:43

    I may not comment till I 50 posts, so here is the link. I had like the same problem some days ago. Just put all those in a parent view and center the parent view.

    Link to my question/answer: Top constraint won't get less with auto-layout

    0 讨论(0)
  • 2020-12-20 08:02

    Hi as per your question i've created demo similar to the layout for which you need the controls need to set. I've added images for single control and made video this using multiple controls to set the layout which you retrying to set.

    enter image description here enter image description here



    link: https://www.youtube.com/watch?v=Nl2iMF0yKW8&list=PLXCowKcXAVgrxHKLWTa4HxNPrSmTj3D-_
    Hope this will solve your issue.

    0 讨论(0)
提交回复
热议问题