I'm using a UIScrollView
for paging three different UIViewControllers
. The pager initializes to display page 1 from start. So the user can swipe left or right from the beginning. When I present a modal view controller from the mid view controller, the UIScrollView
temporarily scrolls to the first page during the animation of the presented view controller. When I dismiss the modal view controller everything's back to normal and the UIScrollView
displays the center view controller.
I would expect (and want) the UIScrollView
to keep it's position during the animation.
This is not a technical bug that causes a crash or something, it's just ugly.
Anyone ever had that before? Any idea how to fix it?