官术网_书友最值得收藏!

Working with stack views

UIStackView is one of the coolest features introduced in iOS 9.0 for developers. It was a hassle to arrange groups of views horizontally or vertically. You had to get your hands dirty with a lot of Auto Layout constraints to arrange these views properly. UIStackView makes arranging subviews horizontally or vertically easier without you worrying about Auto Layout. Although you don't need to use Auto Layout to arrange your views, as its UIStackview's job, you still need to use Auto Layout to define position and size of the stack view itself. If you're still not convinced about the magic that UIStackView does, you have to give it a shot.

主站蜘蛛池模板: 会同县| 板桥市| 洛南县| 青海省| 黄骅市| 云梦县| 南充市| 禹州市| 绍兴县| 银川市| 白水县| 福贡县| 江北区| 柘城县| 库伦旗| 河西区| 遂川县| 锦州市| 定边县| 汕尾市| 仙桃市| 龙井市| 横峰县| 神木县| 东平县| 尖扎县| 兴宁市| 克拉玛依市| 岳阳市| 磐石市| 建瓯市| 永和县| 牡丹江市| 合水县| 大连市| 郎溪县| 衡阳市| 贺州市| 略阳县| 喜德县| 改则县|