LTScrollView icon indicating copy to clipboard operation
LTScrollView copied to clipboard

v0.2.0 没有自定义titleView使用scrollToIndex滚动到指定位置方法无效果,如何解决

Open zhengjianliang opened this issue 5 years ago • 4 comments

zhengjianliang avatar Apr 19 '19 09:04 zhengjianliang

UIView.animate(withDuration: 0.5) { self.advancedManager.pageView.scrollView.contentOffset.x = screenWidth() * CGFloat(selectedSegmentIndex) } 自行修改源码

sxm5220 avatar May 01 '19 08:05 sxm5220

作者您好,因为完全不懂swift,还请问下self.advancedManager.pageView.scrollView.contentOffset.x = screenWidth() * CGFloat(selectedSegmentIndex)是加载那个方法中啊!!!谢谢

happyhefagui avatar May 18 '19 07:05 happyhefagui

UIView.animate(withDuration: 0.5) { self.advancedManager.pageView.scrollView.contentOffset.x = screenWidth() * CGFloat(selectedSegmentIndex) } 自行修改源码

请问在哪里加

MataHu avatar Jan 06 '20 11:01 MataHu

@zhengjianliang @sxm5220 @happyhefagui @MataHu 最新版本已对自定义titleView做了优化,使用更方便

glthello avatar Aug 22 '20 11:08 glthello