-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# iOS自动布局 | ||
#### 需要想明白下列事项 | ||
- 整体布局分为那几个部分?以及各部分的关系 | ||
- 视图是约束宽高、拉伸间距;还是约束间距、拉伸宽高? | ||
- 视图是约束宽高比,高度随着宽度变化吗? | ||
- 约束是否需要最大最小值?约束的优先级 | ||
- 约束的相关视图是谁,父视图还是旁边的视图 | ||
- 谁跟谁是对齐的?中间对齐,左边对齐? | ||
- 等等 |