You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first, i only know how to do it by code. And i'll be using the example from the github readme, here it goes:
#import"Canvas.h"// we need the animation view to be a property, this way we can access it in other places of the code//@property (strong, nonatomic) CSAnimationView *animationView;
_animationView = [[CSAnimationView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
_animationView.backgroundColor = [UIColor whiteColor];
_animationView.duration = 0.5;
_animationView.delay = 0;
_animationView.type = CSAnimationTypeMorph;
[self.view addSubview:_animationView];
// Add your subviews into animationView// [_animationView addSubview:<#(UIView *)#>]// Kick start the animation immediately
[_animationView startCanvasAnimation];
create a method with the call to animationView StartCanvasAnimation
Hi guys, is there a way to make the animations repeat itself continuously?
The text was updated successfully, but these errors were encountered: