?, Uiscrollview's constant? properties
Uiscrollview is the base class for all scrolling views. Subsequent views such as UITableView, Uitextview, and so on, are inherited from the class.
1, Uiscrollview core? function
Scrolling: Contentsize in Frame.size, can scroll. Zoom:? With zoom, you can specify a zoom multiplier.
2. Uiscrollview Scrolling related properties
Contentsize//define content area??, decide if you can slide
Contentoffset//view top left? Offset from the origin of the coordinate
Scrollstotop//Sliding to the top (Point status bar)
pagingenabled//whether full screen flipping
Bounces//Border rebound
Scrollenabled//is able to scroll
Showshorizontalscrollindicator//control is not obvious?? Flat-to-vertical scroll bar
Showverticalscrollindicator//control is not obvious? Vertical scroll bar
Alwaysbouncevertical//control vertical? To see if the border bounces
Alwaysbouncehorizontal//control flat? To see if the border bounces
3. Uiscrollview Scaling related properties
Minimumzoomscale//Shrinkage of the most?? Cases
Maximumzoomscale//Put the most?? Cases
Zoomscale//Setting Change example
Zooming//Judging is in progress? Scaling Bounce
Bounceszoom//control whether the zoom will rebound
To achieve scaling, you also need to implement delegate, which specifies who the Zoomed view is.
Scaling in the *uiscrollview is scaled contentsize
* When a frame is set Uiscrollview a neutron View, it is relative to the Uiscrollview frame, and contentsize is irrelevant.
Uiscrollview, the regular agent of the law
1, Uiscrollview rolling agent method
Scrolling will trigger
-(void) Scrollviewdidscroll: ( Uiscrollview *) ScrollView
Triggers when dragging starts
-(void) scrollviewwillbegindragging: (Uiscrollview *) ScrollView
Trigger at end of drag
-(void) scrollviewdidenddragging: (Uiscrollview *) ScrollView willdecelerate: (BOOL) decelerate
Trigger when starting to slow down
-(void) scrollviewwillbegindecelerating: (Uiscrollview *) ScrollView
triggered when stopped
-(void) scrollviewdidenddecelerating: (Uiscrollview *) ScrollView
2, Uiscrollview scaling Agent method
Complete the drop-down trigger
- (void) scrollviewdidendzooming: (Uiscrollview *) ScrollView Withview: (UIView *) View Atscale: (float) Scale
Specify a Uiscrollview ? view can be set to shrink ?
-(UIView *) Viewforzoominginscrollview: (Uiscrollview *) ScrollView
Third, the Uipagecontrol?
Uipagecontrol is similar to Uilabel, which refers to the current section? (code), usually in conjunction with the Uiscrollview?.
CurrentPage//Current?
Numberofpages//designation?? The number
Iv. the combination of Uipagecontrol and Uiscrollview?
Ui_07 Uiscrollview, Uipagecontrol