我是这个领域的新手。 我已经在UIVIEW中使用了8个UIImageView。动画到UIImageView在objective-c
@property(weak,nonatomic)IBOutlet UIImageView *b1;
@property(weak,nonatomic)IBOutlet UIImageView *b2;
@property(weak,nonatomic)IBOutlet UIImageView *b3;
@property(weak,nonatomic)IBOutlet UIImageView *b4;
@property(weak,nonatomic)IBOutlet UIImageView *Bb1;
@property(weak,nonatomic)IBOutlet UIImageView *Bb2;
@property(weak,nonatomic)IBOutlet UIImageView *Bb3;
@property(weak,nonatomic)IBOutlet UIImageView *Bb4;
@property(weak,nonatomic)IBOutlet UIView *VVV;
我需要: 当的UIViewController LOAD第一4的UIImageView(B1,B2,B3,B4图像)应显示其已被设置。然后此5秒4的UIImageView应翻转后(为B1的img它应该显示Bb1 img,同样的情况下为b2 img后翻转它应该显示Bb2 img,同样的b3-Bb3,b4-Bb4 img)然后翻转5秒后,它应该在UIImageView中显示b1,b2,b3,b4 img。
IMP:我需要,同时
viewDidLoad中
没有按钮操作。
我已经将Bb1-Bb4设置为UIImageView – teena
我不明白怎么办 – teena
我添加了一个如何在UIImageView中为图像添加动画的示例。你清楚如何做到这一点?据我看到,你需要每5秒重复一次这个操作。每次图像都应该从一个换到另一个? – lem