다음을 통해 공유


UICollectionViewController.GetTargetContentOffset 메서드

정의

재정의되면 개발자가 레이아웃 및 애니메이션 변경에 대한 콘텐츠 오프셋을 수정할 수 있습니다.

[Foundation.Export("collectionView:targetContentOffsetForProposedContentOffset:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGPoint GetTargetContentOffset (UIKit.UICollectionView collectionView, CoreGraphics.CGPoint proposedContentOffset);
abstract member GetTargetContentOffset : UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : UIKit.UICollectionView * CoreGraphics.CGPoint -> CoreGraphics.CGPoint

매개 변수

collectionView
UICollectionView

요청을 시작한 컬렉션 뷰입니다.

proposedContentOffset
CGPoint

반환

특성

적용 대상