How to reset my UIScrollView's position after returning from a modal transition?

前端 未结 6 838
-上瘾入骨i
-上瘾入骨i 2021-02-07 12:46

I have a simple view containing a long view with many buttons, with the whole thing being in a UIScrollView. The scroller works well, and I can s

6条回答
  •  余生分开走
    2021-02-07 13:21

    You can change the starting and ending points by calling scrollRectToVisible:animated:. But I'm not sure if this fixes your problem.

提交回复
热议问题