• If uiscrollview cannot be rolled, it may be due to the following reasons: ø contentsize is not set ø scrollenabled = No ø the touch event is not received: userinteractionenabled = No ø autolayout function is not canceled (to perform scrollview scrolling, autolayout must be canceled)
----- • Many times, we want to perform some specific operations when uiscrollview is rolling or rolling to a certain position or stopping the rolling • to complete the above functions, the precondition is that you can monitor the entire Rolling Process of uiscrollview • when a series of rolling operations occur in uiscrollview, its proxy (delegate) object is automatically notified, send a message to its proxy to let the proxy know its rolling status • to listen to the uiscrollview rolling process, you must first set a proxy object for uiscrollview, then, the scrolling process of uiscrollview is known through the proxy.
Basic usage of uiscrollview