12207480 / TYCyclePagerView

a simple and usefull cycle pager view ,and auto scroll banner view(轮播图) ,include pageControl for iOS,support Objective-C and swift
MIT License
1.81k stars 333 forks source link

layoutType 类型设置了没有效果 #82

Closed liyang521 closed 5 years ago

liyang521 commented 5 years ago

我初始化的时候设置了layoutType = TYCyclePagerTransformLayoutLinear; 为什么没有效果呢 大神

liuluchang commented 5 years ago

遇到了同样的问题

liyang521 commented 5 years ago
liuluchang commented 5 years ago

我设置后出现了item大小计算不合适的问题,你有遇到吗 1111

liyang521 commented 5 years ago

item 大小我是根据pageView宽高比例来的 然后设置itemSpacing

liuluchang commented 5 years ago

整合适了,看了下层级,由于我imageview大小使用自动布局导致约束不合适,但是控件的选项卡大小是合适的,重新改了下布局合适了!多谢!!!