Why setting pagingEnabled to YES in UIScrollView automatically scrolls to previous page when the sub views are touched?

The problem is that Paginenabled property of UIScrollView always scroll the scrollview to width of its bounds. So When you have 9 subviews it tries to scroll to 2nd page and shows you 2-9 subviews. In actual your page1 has subviews 1-8 and 2nd pgae has only 9 number subview.

So The real problem is that UIScrollview's content width should be proportional to your number of Pages. In your case your 1 page holds 8 subviews. So content size should be Width of UIScrollview * no.

Of Pages.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions