我想使用UIStackView实现此 我知道通过激活和停用某些约束,可以使用.swift文件中的条件代码/条件约束。
如何使用UIStackViews实现这一目标?
以下是我想要达到的结果。
1) Space must be constant between small gray dots i.e. spacing value 12
2) Size of the small dot is fixed i.e. width=5 for small dots and also fixed for the circle with text.
3) I want to show #n(e.g. 6) dots for the iPhone6 between two big circles. Dots must be more or less based on the screen size.