Initially pin top of pickerView
to bottom
of SuperView
and then when you want it to show you can pin bottom
of pickerView
to bottom of superView
.
(最初针顶pickerView
至bottom
的SuperView
,然后当你想让它显示你可以固定bottom
的pickerView
至底部superView
。)
OR
(要么)
You can do higher animation by pinning bottom of pickerView to bottom of superView and set height to 0 and when you want to show set height constant to whatEver height is recquired.
(您可以通过将pickerView的底部固定到superView的底部并将高度设置为0来进行更高的动画处理,并且当您想将设置的高度常数显示为需要什么高度时。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…