UIViewでアニメーション
シンプルにUIViewのanimationWithDurationで
UIView *AnimateTargetView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 50, 50)]; [UIView animateWithDuration:1.5f animations:^{ [AnimateTargetView setFrame:CGRectMake(20, 20 , 100 , 100)]; }];
シンプルにUIViewのanimationWithDurationで
UIView *AnimateTargetView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 50, 50)]; [UIView animateWithDuration:1.5f animations:^{ [AnimateTargetView setFrame:CGRectMake(20, 20 , 100 , 100)]; }];