Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. [myAnimatedLayer setValue:layersCurrentAnimation forKey:@"basicAnimation"]
  2.  
  3. CABasicAnimation *thisAnimation = [myAnimatedLayer valueForKey:@"basicAnimation"];
  4.  
  5. [myAnimatedLayer addAnimation:thisAnimation forKey:nil];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement