TuSDKICPagerView Class Reference
| Inherits from | UIScrollView |
|---|---|
| Conforms to | UIScrollViewDelegate |
| Declared in | TuSDKICPagerView.h |
dataSource
横向分页视图数据源
@property (nonatomic, assign) id<TuSDKICPagerViewDataSource> dataSourceDeclared In
TuSDKICPagerView.h
scaleMaxZoom
最大缩放 | 默认为1时不进行缩放
@property (nonatomic) CGFloat scaleMaxZoomDeclared In
TuSDKICPagerView.h
willChangeOrientation
将要改变方向
@property (nonatomic) BOOL willChangeOrientationDeclared In
TuSDKICPagerView.h
currentHolder
当前分页占位视图
@property (nonatomic, readonly) TuSDKICPagerHolder *currentHolderDeclared In
TuSDKICPagerView.h
isAnimation
是否使用滚动动画
@property (nonatomic, readonly) BOOL isAnimationDeclared In
TuSDKICPagerView.h
+ initWithFrame:pagePadding:
初始化
+ (id)initWithFrame:(CGRect)frame pagePadding:(CGFloat)pagePaddingParameters
frame |
坐标大小 |
|---|---|
pagePadding |
分页边距 默认为10 |
Return Value
self 照片查看器
Declared In
TuSDKICPagerView.h
– scrollToIndex:
滚动到指定页数
- (void)scrollToIndex:(NSUInteger)indexParameters
index |
分页页数 |
|---|
Declared In
TuSDKICPagerView.h
– scrollToIndex:animated:
滚动到指定页数
- (void)scrollToIndex:(NSUInteger)index animated:(BOOL)animatedParameters
index |
分页页数 |
|---|---|
animated |
是否使用动画 |
Declared In
TuSDKICPagerView.h
– cancelSingleTapAction
取消单击事件 | 防止延迟执行方法导致异常
- (void)cancelSingleTapActionDeclared In
TuSDKICPagerView.h