UIScrollView.SetContentOffset(CGPoint, Boolean) Method

Definition

Sets the distance between the content and the UIScrollView object.

[Foundation.Export("setContentOffset:animated:")]
public virtual void SetContentOffset (CoreGraphics.CGPoint contentOffset, bool animated);
abstract member SetContentOffset : CoreGraphics.CGPoint * bool -> unit
override this.SetContentOffset : CoreGraphics.CGPoint * bool -> unit

Parameters

contentOffset
CGPoint
animated
Boolean
Attributes

Applies to