ios - Storyboard - dynamically change height of UIView -
popup1
popup2
is possible create single popup in storyboard & dynamically change - decrease/increase height when error occurs (as shown in popup2)
i expect correct approach create such view.
one way achieve using vertical uistackview
in interface builder. example, have simple stack view set contains 2 labels:
now, in view controller can set error label hidden or not , stack view dynamically take care of rest. e.g:
without hiding anything:
hiding error label:
[_errorlabel sethidden:yes];
Comments
Post a Comment