UIScrollView 设置contentSize后滑动偏移,在 ViewController 中设置如下代码即可解决:
self.automaticallyAdjustsScrollViewInsets = false
UIScrollView 设置contentSize后滑动偏移,在 ViewController 中设置如下代码即可解决:
self.automaticallyAdjustsScrollViewInsets = false
本文标题:UIScrollView 设置contentSize后滑动偏移问
本文链接:https://www.haomeiwen.com/subject/ckxrzctx.html
网友评论