In recent days to do a view of the function of large map but actually appeared scrollview slippery phenomenon is very depressed AH
In particular, the use of scrollerview implementation of the function to view the large image of the outer layer has a large scrollerview for sliding switch pictures, the inner layer has a few pictures there are a few small scroller small scrollerview for zooming pictures, Now in the sliding outer scrollerview occasionally will be slippery when the problem of the card for several days online resources are also very little ah! (The great gods, have a solution can share it???)
Finally, I found an article on the subject.
The reason is probably this: because nested ScrollView and two layers of scrollview are supported sliding, so sometimes when the outer layer of sliding, the system can not tell exactly which layer needs to slide the phenomenon of sliding.
This is solved by:
When the outer scrollview is dragged, the scrollenabled of all the scrollview in the inner layer is set to no; Set the scrollenabled to Yes when you are zooming in on it. This will not occur when the outer layer will occasionally slip, and the inner ScrollView can also be scaled.
IOS does not work when viewing large images using ScrollView