ScrollView分析
来源:互联网 发布:开源网络管理软件 编辑:程序博客网 时间:2024/06/08 16:10
alwaysBounceHorizontal
@property(nonatomic) BOOL alwaysBounceHorizontal
alwaysBounceVertical
@property(nonatomic) BOOL alwaysBounceVertical
bounces
@property(nonatomic) BOOL bounces
bouncesZoom
@property(nonatomic) BOOL bouncesZoom
canCancelContentTouches
@property(nonatomic) BOOL canCancelContentTouches
contentInset
@property(nonatomic) UIEdgeInsets contentInset
contentOffset
@property(nonatomic) CGPoint contentOffset
contentSize
@property(nonatomic) CGSize contentSize
decelerating
@property(nonatomic, readonly, getter=isDecelerating) BOOL decelerating
decelerationRate
@property(nonatomic) float decelerationRate
delaysContentTouches
@property(nonatomic) BOOL delaysContentTouches
delegate
@property(nonatomic, assign) id delegate
directionalLockEnabled
@property(nonatomic, getter=isDirectionalLockEnabled
dragging
@property(nonatomic, readonly, getter=isDragging) BOOL dragging
indicatorStyle
@property(nonatomic) UIScrollViewIndicatorSty
说明这些常数
maximumZoomScale
@property(nonatomic) float maximumZoomScale //此值确定多大的内容可以扩展。它必须大于最小缩放比例缩放才能启用。默认值是1.0 。
Discussion
minimumZoomScale
@property(nonatomic) float minimumZoomScale
pagingEnabled
@property(nonatomic, getter=isPagingEnabled) BOOL pagingEnabled //如果这个属性的值是YES,当用户滚动时,滚动视图停止滚动视图的边界的倍数。默认值是NO 。
panGestureRecognizer
@property(nonatomic, readonly) UIPanGestureRecognizer *panGestureRecognizer //你的应用程序访问此属性,当它希望能够通过滚动视图更精确地控制泛手势确认。
pinchGestureRecognizer
@property(nonatomic, readonly) UIPinchGestureRecognizer
scrollEnabled
@property(nonatomic, getter=isScrollEnabled) BOOL scrollEnabled
scrollIndicatorInsets
@property(nonatomic) UIEdgeInsets scrollIndicatorInsets
scrollsToTop
@property(nonatomic) BOOL scrollsToTop
showsHorizontalScrollInd
@property(nonatomic) BOOL showsHorizontalScrollInd
showsVerticalScrollIndic
@property(nonatomic) BOOL showsVerticalScrollIndic
tracking
@property(nonatomic, readonly, getter=isTracking) BOOL tracking
zoomBouncing
@property(nonatomic, readonly, getter=isZoomBouncing) BOOL zoomBouncing //这个属性的值是YES如果滚动视图缩放回最小或最大变焦缩放值;否则值为NO 。
zooming
@property(nonatomic, readonly, getter=isZooming) BOOL zooming
zoomScale
@property(nonatomic) float zoomScale
Instance Methods
flashScrollIndicators
- (void)flashScrollIndicators
scrollRectToVisible:animated:
- (void)scrollRectToVisible:(CGRect)rect animated:(BOOL)animated
参数:
rect
animated
setContentOffset:animated:
- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated
参数:
contentOffset
animated
setZoomScale:animated:
- (void)setZoomScale:(float)scale animated:(BOOL)animated
参数:
scale
animated
touchesShouldBegin:withEvent:inContentView:
- (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event
参数:
touches
event
view
Return Value
touchesShouldCancelInCon
- (BOOL)touchesShouldCancelInCon
参数:
view
Return Value
zoomToRect:animated:
- (void)zoomToRect:(CGRect)rect animated:(BOOL)animated
rect
animated
Constants
Scroll Indicator Style
typedef enum {
UIScrollViewIndicatorSty
UIScrollViewIndicatorSty
UIScrollViewIndicatorSty
} UIScrollViewIndicatorSty
Deceleration Constants
The rate of deceleration for a scrolling view.
{
const float UIScrollViewDeceleration
const float UIScrollViewDeceleration
}
- ScrollView分析
- ScrollView分析
- ScrollView分析
- ScrollView 重点分析
- 【android】ScrollView源码分析
- ScrollView测量分析
- Scrollview源码分析
- ScrollView源码分析
- ScrollView 源码分析(二)
- ScrollView中嵌套ListView分析
- android ScrollView smoothScrollTo源码分析
- Scroll分析-附ScrollView源码分析
- android ScrollView嵌套ListView的方法分析
- Scroll原理-附ScrollView源码分析
- Android控件之ScrollView用法实例分析
- ScrollView
- ScrollView
- scrollView
- Java Secret: Using an enum to build a State machine(Java秘术:用枚举构建一个状态机)
- 练手小项目(2)-生活小助手--星座运势查询
- AmqpTemplate-发送-接收-消息
- mac升级系统之后,eclipse找不到JDK,java工程报错
- 第十二周项目二(1)求N组数的最大公约数
- ScrollView分析
- 《Java并发编程实战》---线程安全性---对象的共享
- 推荐系统挖掘长尾了吗?
- asp.net中FTP读取文件列表时中文乱码
- ipad,iphone启动图片命名
- Spring环境配置
- 《数据结构》实验二: 线性表实验
- c语言文件操作函数
- Oracle联机日志文件损坏后的恢复方法