LTScrollView
LTScrollView copied to clipboard
v0.2.0 没有自定义titleView使用scrollToIndex滚动到指定位置方法无效果,如何解决
UIView.animate(withDuration: 0.5) { self.advancedManager.pageView.scrollView.contentOffset.x = screenWidth() * CGFloat(selectedSegmentIndex) } 自行修改源码
作者您好,因为完全不懂swift,还请问下self.advancedManager.pageView.scrollView.contentOffset.x = screenWidth() * CGFloat(selectedSegmentIndex)是加载那个方法中啊!!!谢谢
UIView.animate(withDuration: 0.5) { self.advancedManager.pageView.scrollView.contentOffset.x = screenWidth() * CGFloat(selectedSegmentIndex) } 自行修改源码
请问在哪里加
@zhengjianliang @sxm5220 @happyhefagui @MataHu 最新版本已对自定义titleView做了优化,使用更方便