ios - Update constraints programmatically? -


i have group of views in view controller, each set constraint of 15 previous. when press button elsewhere on vc, have 1 of views, near top, double in height. how rest of views snap new constraints?

nslayoutconstraint *sample = [nslayoutconstraint constraintwithitem:yourtargetview                                                                         attribute:nslayoutattributeleft                                                                         relatedby:nslayoutrelationequal                                                                            toitem:yourtargetsparentview                                                                         attribute:nslayoutattributeleft                                                                        multiplier:0.00                                                                          constant:100]; [yourtargetsparentview addconstraint:sample]; 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -