TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2016 |
Maintained by CGPointZero.
...................................................................................
A class with ad. pics auotmatic scrolling.
Manual:
Download This Project and drag the FGGAutomaticScrollView folder into your peroject, do not forget to ensure "copy item if need" being selected.
Cocoapods:
pod 'FGGAutoScrollView', '~> 1.0.1'
-(instancetype)initWithFrame:(CGRect)frame
placeHolderImage:(UIImage *)placeHolderImage
imageURLs:(NSArray *)URLArray
imageDidSelectedBlock:(FGGImageClickBlock)didSelectedImageAtIndex;
-(instancetype)initWithFrame:(CGRect)frame
placeHolderImage:(UIImage *)placeHolderImage
localImageNames:(NSArray *)imageNames
imageDidSelectedBlock:(FGGImageClickBlock) didSelectedImageAtIndex;
@property(nonatomic,copy)void (^imageDidScrolledBlock)(NSInteger index);
若不需要为图片添加点击事件,初始化时,点击图片的回调block置为nil就可以了。
...............................................................................
Copyright (c) 2016年 CGPointZero. All rights reserved.