UIScrollView.ScrollRectToVisible(CGRect, Boolean) 方法

定义

滚动以使其可见,还可以选择对滚动进行动画处理。

[Foundation.Export("scrollRectToVisible:animated:")]
public virtual void ScrollRectToVisible (CoreGraphics.CGRect rect, bool animated);
abstract member ScrollRectToVisible : CoreGraphics.CGRect * bool -> unit
override this.ScrollRectToVisible : CoreGraphics.CGRect * bool -> unit

参数

rect
CGRect
animated
Boolean
属性

适用于