ios - NSLayoutConstraint change not working -


i have code below changing nslayoutconstraint delay. value changing without delay , animation. please let me know issue code.

self.heightconstraint.constant = 100; [self.animatingview setneedsupdateconstraints]; [uiview animatewithduration:3.0 delay:1.0 options:uiviewanimationoptioncurveeaseout animations:^{     [self.animatingview layoutifneeded]; } completion:^(bool finished) {  }]; 

try calling layoutifneeded method on superview of animatingview.


Comments

Popular posts from this blog

vue.js - Create hooks for automated testing -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

serial port - hub4com OVERRUN Error -