# Auto Layout Confusion

**URL:** <https://forums.kodeco.com/t/auto-layout-confusion/179330>\
**Category:** iOS Apprentice\
**Created:** [October 2, 2022, 1:55am UTC](https://forums.kodeco.com/t/auto-layout-confusion/179330 "2022-10-02T01:55:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iosnoob101](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/iosnoob101/32/102075_2.png) [@iosnoob101](https://forums.kodeco.com/u/iosnoob101)\
**Post date:** [October 2, 2022, 1:55am UTC](https://forums.kodeco.com/t/auto-layout-confusion/179330/1 "2022-10-02T01:55:09Z")

</div>

Hello throughout the book it mentions to use constraints to auto layout the text field or various modules but im confused what you mean. How are we supposed to know the numbers for the margins and the book mentioned if we add our custom constraints then we would have to add constraints for everything else. Can you clarify what you mean by utilizing the auto layout.

---

<div class="post-metadata">

**Author:** ![robertomachorro](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/robertomachorro/32/111603_2.png) [@robertomachorro](https://forums.kodeco.com/u/robertomachorro)\
**Post date:** [October 12, 2022, 6:22pm UTC](https://forums.kodeco.com/t/auto-layout-confusion/179330/2 "2022-10-12T18:22:12Z")

</div>

Auto Layout facilitates how controls respond to different screen sizes based on constraint assumptions. I don’t have the book available, but can recommend the following tutorial:

[https://www.raywenderlich.com/811496-auto-layout-tutorial-in-ios-getting-started](https://www.raywenderlich.com/811496-auto-layout-tutorial-in-ios-getting-started)

---

<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:** [March 17, 2023, 5:55pm UTC](https://forums.kodeco.com/t/auto-layout-confusion/179330/3 "2023-03-17T17:55:31Z")

</div>

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