ios用 UIImageView实现图片幻灯片
2013-09-22 14:26
405 查看
NSArray *myImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"Image1.png"], [UIImage imageNamed:@"Image2.png"], [UIImage imageNamed:@"Image3.png"], [UIImage imageNamed:@"mage4.gif"], nil]; UIImageView *myAnimatedView = [UIImageView alloc]; [myAnimatedView initWithFrame:[self bounds]]; myAnimatedView.animationImages = myImages; myAnimatedView.animationDuration = 0.35; // seconds myAnimatedView.animationRepeatCount = 0; // 0 代表一直循环。 [myAnimatedView startAnimating]; [self addSubview:myAnimatedView]; [myAnimatedView release]; |
相关文章推荐
- ios用 UIImageView实现图片幻灯片
- ios用 UIImageView实现图片幻灯片
- iOS开发UIImage和UIImageView属性介绍,实现图片动画,实现开始/停止按钮效果
- 【iOS开发-9】UIImage和UIImageView属性介绍,实现图片动画,实现开始/停止按钮效果
- iOS实现UIImageView透明区域点击事件穿透(OC&swift)
- IOS 结合UIImageView实现图片的移动和缩放
- UIImageView实现图片幻灯片
- iOS中UIScrollView嵌套UIImageView实现图片滑动浏览、缩放
- UIImageView实现图片幻灯片
- iOS 之UIImageView实现图片的移动和缩放
- ios学习--结合UIImageView实现图片的移动和缩放
- ios学习--结合UIImageView实现图片的移动和缩放(转)
- iOS 图片 无线滚动效果 利用 3张UIImageView 实现
- UIImageView实现图片幻灯片
- iOS无限轮播图片的实现-仅仅用了三个UIImageView实现多图的轮播效果
- UIImageView实现图片幻灯片
- iOS_AFNetworking_UIImageView+AFNetworking(实现图片异步加载)
- iOS UIImageView利用UIScrollView实现图片循环滚动
- [多媒体、图形、动画] UIImageView实现图片幻灯片
- css 实现的简单的图片…