HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Animate with Auto Layout Constraints

22,530 views October 27, 2018 16:35

Watch on YouTube
ChannelLets Build That App

Description from the creator

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
letsbuildthatapp.com/course/intermediate-traini…

Instagram Firebase Course
letsbuildthatapp.com/course/instagram-firebase

Facebook Group
facebook.com/groups/1240636442694543/

iOS Basic Training Course
letsbuildthatapp.com/basic-training

Completed Source Code
letsbuildthatapp.com/course_video?id=2252



Follow me on Twitter: twitter.com/buildthatapp

About this tutorial

Lets Build That App published this 16:35 video tutorial on October 27, 2018. It has been watched 22,530 times on YouTube.

Category
Education
Duration
16:35
Published
October 27, 2018
Views
22,530
Likes
472

Tags

Share

This tutorial in other languages