TYCyclePagerView icon indicating copy to clipboard operation
TYCyclePagerView copied to clipboard

a simple and usefull cycle pager view ,and auto scroll banner view(轮播图) ,include pageControl for iOS,support Objective-C and swift

Results 29 TYCyclePagerView issues
Sort by recently updated
recently updated
newest added

默认设置TYCyclePagerTransformLayoutLinear样式不生效,只能延时设置才可以

[pagerView registerNib:[UINib nibWithNibName:NSStringFromClass([YCCollectionViewCell class]) bundle:nil] forCellWithReuseIdentifier:@"YCCollectionViewCell"];

使用非无限轮播的时候,即infiniteLoop 设置为no的时候出现 在第一个手动往前滑动会自动滑到最后一个 在最后一个继续往后滑动则不会滑到第一个

Change-Id: I2e32e06f63af5abd6c57c57f7cab41a95679ba53

现在有个需求:如果轮播图只有一张图片,需要禁止无限滚动,如何操作?

1、TYPagerView 原来尺寸是占满屏幕的的大小 2、把TYPagerView的frame设置成小尺寸,并setNeedClearLayout, 并滑动TYPagerView的轮播图 3、再把TYPagerView的frame设置占满屏幕的的大小,显示的图片和小frame显示不一样

![img_0610 2](https://user-images.githubusercontent.com/13994302/53614883-6a302d00-3c16-11e9-9594-954b3e1df048.PNG)