中从屏幕的右侧计算contentofdset
默认情况下, scrollView.contentOffset = 0
表示 scrollView
的左边(侧((uiscrollview(。
无论如何是否有改变这种行为?诸如左右uiscrollview之类的东西,它是 contentOffset = 0
表示scrollview的右边(侧(。
let rightOffset = scrollView.contentSize.width - scrollView.contentOffset.x
这样你可以
在uiscrollview