How to Animate with Auto Layout Constraints
What always seems to be difficult for newcomers to Auto Layout is the implementation of animation with constraints. The trick is to capture your anchors with a local property, and modify it's active or constant properties. Afterwards, you can call an animation block with layoutIfNeeded to begin animating to the new properties. Animating with constraints is especially useful to maintain view locations without having to recalculate CGRect values. Have fun. Intermediate Training Core Data https://www.letsbuildthatapp.com/cour... Instagram Firebase Course https://www.letsbuildthatapp.com/cour... Facebook Group https://www.facebook.com/groups/12406... iOS Basic Training Course https://www.letsbuildthatapp.com/basi... Completed Source Code https://www.letsbuildthatapp.com/cour... Follow me on Twitter: https://twitter.com/buildthatapp