Iphone 以gif图像为背景
我们可以使用gif图像作为背景吗? 我想设置一个gif图像作为背景,就像一些鸟儿在飞翔 我们可以用gif图像作为背景吗 如果是,比如何Iphone 以gif图像为背景,iphone,Iphone,我们可以使用gif图像作为背景吗? 我想设置一个gif图像作为背景,就像一些鸟儿在飞翔 我们可以用gif图像作为背景吗 如果是,比如何 谢谢和问候是的,你可以-我想你想要一个动画gif 这与静态背景的CSS规则相同 body { background: url(animated.gif); } 是的,你可以-我想你想要一个动画gif 这与静态背景的CSS规则相同 body { background: url(animated.gif); } 这里,我找到了解决办法 UIIma
谢谢和问候是的,你可以-我想你想要一个动画gif 这与静态背景的CSS规则相同
body {
background: url(animated.gif);
}
是的,你可以-我想你想要一个动画gif 这与静态背景的CSS规则相同
body {
background: url(animated.gif);
}
这里,我找到了解决办法
UIImageView* animatedImageView = [[UIImageView alloc] initWithFrame:self.view.bounds];
animatedImageView.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"default1.jpg"],
[UIImage imageNamed:@"default2.jpg"],
[UIImage imageNamed:@"default3.jpg"],
[UIImage imageNamed:@"default4.jpg"],
[UIImage imageNamed:@"default5.jpg"],
[UIImage imageNamed:@"default6.jpg"],
[UIImage imageNamed:@"default7.jpg"],
[UIImage imageNamed:@"default8.jpg"],
[UIImage imageNamed:@"default9.jpg"],
[UIImage imageNamed:@"default10.jpg"],
[UIImage imageNamed:@"default11.jpg"],
[UIImage imageNamed:@"default12.jpg"],
[UIImage imageNamed:@"default13.jpg"],
[UIImage imageNamed:@"default14.jpg"],
[UIImage imageNamed:@"default15.jpg"], nil];
animatedImageView.animationDuration = 3.0f;
animatedImageView.animationRepeatCount = 0;
[animatedImageView startAnimating];
[self.view addSubview: animatedImageView];
这里,我找到了解决办法
UIImageView* animatedImageView = [[UIImageView alloc] initWithFrame:self.view.bounds];
animatedImageView.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"default1.jpg"],
[UIImage imageNamed:@"default2.jpg"],
[UIImage imageNamed:@"default3.jpg"],
[UIImage imageNamed:@"default4.jpg"],
[UIImage imageNamed:@"default5.jpg"],
[UIImage imageNamed:@"default6.jpg"],
[UIImage imageNamed:@"default7.jpg"],
[UIImage imageNamed:@"default8.jpg"],
[UIImage imageNamed:@"default9.jpg"],
[UIImage imageNamed:@"default10.jpg"],
[UIImage imageNamed:@"default11.jpg"],
[UIImage imageNamed:@"default12.jpg"],
[UIImage imageNamed:@"default13.jpg"],
[UIImage imageNamed:@"default14.jpg"],
[UIImage imageNamed:@"default15.jpg"], nil];
animatedImageView.animationDuration = 3.0f;
animatedImageView.animationRepeatCount = 0;
[animatedImageView startAnimating];
[self.view addSubview: animatedImageView];
这看起来不像是一个编程问题。@marcelo那么,你认为这是什么。c我的回答……好像有人想在他们的iPhone上安装一些壁纸。另一个答案假设了一个完全不同的情景,并且投票(不是由我投票)这一事实表明,困惑并非我一个人的问题。这看起来不像是一个编程问题。@marcelo so,你认为是什么。c我的回答……好像有人想在他们的iPhone上安装一些壁纸。另一个答案假设了一个完全不同的情景,并投票表决(不是由我投票),这一事实表明,困惑并非我一个人。