# Adding Constraints

**URL:** <https://forums.kodeco.com/t/adding-constraints/70071>\
**Category:** iOS\
**Created:** [May 6, 2019, 9:50pm UTC](https://forums.kodeco.com/t/adding-constraints/70071 "2019-05-06T21:50:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ubillups](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/ubillups/32/81494_2.png) [@ubillups](https://forums.kodeco.com/u/ubillups)\
**Post date:** [May 6, 2019, 9:50pm UTC](https://forums.kodeco.com/t/adding-constraints/70071/1 "2019-05-06T21:50:10Z")

</div>

I’m new to iOS and working on an app called rainbow. I’ve been able to add my (6) UI buttons, but having difficulty with the alignment and adding constraints. I’ve tried 16 pts and 20 pts below and above. This is not looking good on any of the devices when viewing (iPad, iPhone) in Xcode. Any suggestions is appreciated.  
Thanks

---

<div class="post-metadata">

**Author:** ![jayantvarma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jayantvarma/32/111768_2.png) [@jayantvarma](https://forums.kodeco.com/u/jayantvarma)\
**Post date:** [May 20, 2019, 7:17am UTC](https://forums.kodeco.com/t/adding-constraints/70071/2 "2019-05-20T07:17:53Z")

</div>

Hi @ubillups,  
welcome to the RW forums, an image/screenshot would be helpful to understand your issue better.

cheers,

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [October 20, 2019, 1:50pm UTC](https://forums.kodeco.com/t/adding-constraints/70071/3 "2019-10-20T13:50:10Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
