의 좌표가 나는 내가 NSTimer내가 좌표를 얻을 필요가 애니메이션의 UIImageView
timer = [NSTimer scheduledTimerWithTimeInterval:0.2 target:self selector:@selector(onTimer) userInfo:nil repeats:YES];
-(void)onTimer
{
[UIView animateWithDuration:10.0f animations:^{
//Moving_Cloud is an image view
Moving_Cloud.frame = CGRectMake(200.0f, 150.0f, Moving_Cloud.frame.size.width, Moving_Cloud.frame.size.height);
}];
}
지금 내가 직면하고있는 문제를 사용한 아래의 코드를 사용했을 수 움직이는 시간 이후에 "Moving_Cloud"의 내용
도와주세요
미리 감사드립니다.
애니메이션 기간이 지나면 프레임을 설정하지 않습니까? – Jumhyn