myScrollView?.setContentOffset(CGPoint(x: 0, y: (myScrollView?.contentSize.height ?? 0) - (myScrollView?.bounds.size.height ?? 0) ), animated: true)
myScrollView?.setContentOffset(CGPoint(x: 0, y: (myScrollView?.contentSize.height ?? 0) - (myScrollView?.bounds.size.height ?? 0) ), animated: true)
本文标题:UIScrollView默认滚动到最底部
本文链接:https://www.haomeiwen.com/subject/vxsgrctx.html
网友评论