共用方式為


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
屬性

適用於