TuSDKICPagerView Class Reference

Inherits from UIScrollView
Conforms to UIScrollViewDelegate
Declared in TuSDKICPagerView.h

Overview

横向分页视图

  dataSource

横向分页视图数据源

@property (nonatomic, assign) id<TuSDKICPagerViewDataSource> dataSource

Declared In

TuSDKICPagerView.h

  scaleMaxZoom

最大缩放 | 默认为1时不进行缩放

@property (nonatomic) CGFloat scaleMaxZoom

Declared In

TuSDKICPagerView.h

  willChangeOrientation

将要改变方向

@property (nonatomic) BOOL willChangeOrientation

Declared In

TuSDKICPagerView.h

  currentHolder

当前分页占位视图

@property (nonatomic, readonly) TuSDKICPagerHolder *currentHolder

Declared In

TuSDKICPagerView.h

  isAnimation

是否使用滚动动画

@property (nonatomic, readonly) BOOL isAnimation

Declared In

TuSDKICPagerView.h

+ initWithFrame:pagePadding:

初始化

+ (id)initWithFrame:(CGRect)frame pagePadding:(CGFloat)pagePadding

Parameters

frame

坐标大小

pagePadding

分页边距 默认为10

Return Value

self 照片查看器

Declared In

TuSDKICPagerView.h

– reloadData

重新加载数据

- (void)reloadData

Declared In

TuSDKICPagerView.h

– scrollToIndex:

滚动到指定页数

- (void)scrollToIndex:(NSUInteger)index

Parameters

index

分页页数

Declared In

TuSDKICPagerView.h

– scrollToIndex:animated:

滚动到指定页数

- (void)scrollToIndex:(NSUInteger)index animated:(BOOL)animated

Parameters

index

分页页数

animated

是否使用动画

Declared In

TuSDKICPagerView.h

– didChangeOrientation

屏幕方向改变

- (void)didChangeOrientation

Declared In

TuSDKICPagerView.h

– cancelSingleTapAction

取消单击事件 | 防止延迟执行方法导致异常

- (void)cancelSingleTapAction

Declared In

TuSDKICPagerView.h

– viewNeedRest

需要重置视图

- (void)viewNeedRest

Declared In

TuSDKICPagerView.h