ios - Infinitely scrolling paging scrollview -


my uiscrollview has 3 pages, separate uiview on each page. set using auto layout. when app launches, there 1 view offscreen left, onscreen, , third offscreen right.

when user pages either side, there 1 view onscreen, 2 views offscreen on same side. want able move view furthest offscreen other side of scrollview, make scroll view can page infinitely.

i tried changing constraints in scrollviewdidenddragging(_:willdecelerate), approach not working.

is effect plausible? if so, how can achieve effect?

edit: 1 reason approach before doesn't work because user can scroll past paging without delegate method being called. trying see if didscroll method allow effect going for, haven't gotten point can test yet.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -