No description
Find a file
2017-04-25 22:01:45 +02:00
AnimationRestoration Adds sample code to ViewController for presenting AnimationPreservingView functionality 2017-04-06 23:00:47 +02:00
AnimationRestoration.xcodeproj Adds AnimationPreservingView 2017-04-06 22:59:41 +02:00
.gitignore Initial commit 2017-04-06 19:50:09 +02:00
README.md Adds readme and screencast gif 2017-04-25 22:01:45 +02:00
screencast.gif Adds readme and screencast gif 2017-04-25 22:01:45 +02:00

AnimationRestoration

The AnimationPreservingView class keeps it's layer tree animations safe from being removed. There are two cases when CAAnimation can be removed from CALayer automatically:

  • when application goes to background
  • when view backed by the layer is removed from window

Screencast