我正在编写一个应用程序,我想知道当同一行中的总宽度超过设备宽度时,如何将视图锚定到前一个视图的底部而不是右侧。
基本上是这样的:
View 1: width=150 anchor to superview's leftAnchor
View 2: width=500 anchor to view1's rightAnchor
View 3: width=1000 anchor to view1's bottomAnchor because total width in same row
exceeds device width
#device width=1200
任何帮助表示赞赏。抱歉英语不好,不是母语人士。
附言。所有高度都相同,宽度是动态的