I have a stack view with 4 elements piled vertically.
If I hide one element using this:
[UIView animateWithDuration:0.5
animations:^{
[element setHidden:YES];
}];
An animation will start on the stack and the elements will scale proportionally to fill the space of the hidden element.
Is there a way to intercept the stackview animation to do something as the animation goes? like we do with keyboards when they show/hide and we can sync another animation to happen in sync? is that possible for stackviews?
Aucun commentaire:
Enregistrer un commentaire