-(ibaction)sometouched:(id)sender
{
[UIView beginAnimations:@"first one" context:nil];
[UIView setAnimationDuration:1.0];
[myview setFrame:CGRectMake(0,y,width.height.);
[UIView commitAnimations];
[UIView beginAnimations:@"second one" context:nil];
[UIView setAnimationDuration:1.0];
[myview setFrame:CGRectMake(x,0,width.height.);
[UIView commitAnimations];
}
Это просто демонстрация. Что я хочу, так это то, что анимация займет 2 части. первый перемещает вид вниз, а второй - вправо. но то, что у меня есть, это то, что оно быстро опускается, а затем движется вправо.
что мне здесь не хватало?