如何在UIView for iPhone应用程序中设置字符串的动画

如何在UIView for iPhone应用程序中设置字符串的动画,iphone,Iphone,我是iphone开发新手。有人能帮我制作NSArray角色的动画吗?我想在UIView中设置角色动画并显示角色 请帮帮我。提前感谢。将它们添加到UILabel并使用动画块,如: [UIView beginAnimations:@"animations" context:NULL]; [UIView setAnimationCurve:UIViewAnimationCurveLinear]; [UIView setAnimationDelay:.3f]; [UIVi

我是iphone开发新手。有人能帮我制作NSArray角色的动画吗?我想在UIView中设置角色动画并显示角色


请帮帮我。提前感谢。

将它们添加到UILabel并使用动画块,如:

    [UIView beginAnimations:@"animations" context:NULL];
    [UIView setAnimationCurve:UIViewAnimationCurveLinear];
    [UIView setAnimationDelay:.3f];
    [UIView setAnimationDuration:2.34f];

    label.frame = CGRectMake(label.frame.origin.x, label.frame.origin.y - 20.f, label.frame.size.width, label.frame.size.height);
    [UIView commitAnimations];