ios - Autolayout and Facebook Pop -


currently using structures with auto layout or do you need to use springs and take a way is? I think it possible that I am reading it, but I do not know what is the syntax to enliven the top obstacle to a sequence

in this case you have to animate a NSLayoutConstraint want you can with a pop and it will animate barrier. Note that the POPSpringAnimation barrier is being added .

  NSLayoutConstraint * barrier = // NSLayoutConstraint the one that is applied to some footage POPSpringAnimation * layoutAnimation = [POPSpringAnimation animationWithPropertyNamed: kPOPLayoutConstraintConstant]; Layout animation. Spring Speed ​​= 20.0 f; Layout Animation. Component = 15.0 f; LayoutAnimation.toValue = @ (value also to go); [Barrier pop_addAnimation: layoutAnimation forKey: @ "detailsContainerWidthAnimate"];  

The main property to use is kPOPLayoutConstraintConstant as shown above. So if you want to do it on auto layout restrictions, then you can use this barrier property. The

Scale and work with autolayout Working with other properties so you do not have any problem getting POP to work with auto Lyaut.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -