第三方布局框架Neon初探
github地址:https://github.com/mamaral/Neon
居中
设置 view 在 superview 的中心,调用 anchorInCenter()并设置view大小,相当于frame center
view1.anchorInCenter(width: 300, height: 300)
imgV.anchorInCenter(width: 150, height:...
原创
2019-03-25 11:41:10 ·
262 阅读 ·
0 评论