I have 3 views in ScrollView. I don’t understand about it because I want to scroll left to right or right to left but it can allow me to drag these view to top or down or right or left. I also use some code as below but it does’t work.
scrollView.pagingEnabled=YES;
scrollView.showsHorizontalScrollIndicator=NO;
scrollView.showsVerticalScrollIndicator=NO;
scrollView.scrollsToTop=NO;
are there any code to do this?
Set contentSize of ScrollView and while setting it set height accordingly to your view which are inside the scrollview.
It’ll solve your problem.