Refer: http://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/UIScrollView_pg/UIScrollView_pg.pdf
Basic View Scrolling
No Need of Delegation and subclassing.
Just set The ContentSize
To Support Pinch to Zoom
Use Delegation method
Double tap and Two finger tap
Code in content view
Paging mode
No Delegation and no subclass.
simply enable paging mode and set the content size
Scrolling the scroll view content
1.Dragging
User touching the screen and dragging
2.Flick gesture
Variation of Dragging.In this user makes initial contact with the screen and drags in the direction of desired scroll and lifts off from the screen.This not only causes scrolling but creates a momentum which depends on the speed of user's dragging that causes scrolling to continue even after gesture is completed.
Basic View Scrolling
No Need of Delegation and subclassing.
Just set The ContentSize
To Support Pinch to Zoom
Use Delegation method
Double tap and Two finger tap
Code in content view
Paging mode
No Delegation and no subclass.
simply enable paging mode and set the content size
Scrolling the scroll view content
1.Dragging
User touching the screen and dragging
2.Flick gesture
Variation of Dragging.In this user makes initial contact with the screen and drags in the direction of desired scroll and lifts off from the screen.This not only causes scrolling but creates a momentum which depends on the speed of user's dragging that causes scrolling to continue even after gesture is completed.
No comments:
Post a Comment