다음을 통해 공유


UICollectionViewDelegate.GetTargetIndexPathForMove 메서드

정의

재정의되면 개발자가 이동된 항목의 최종 위치를 수정할 수 있습니다. (예를 들어 특정 proposedIndexPath로의 이동을 허용하지 않습니다.)

[Foundation.Export("collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetTargetIndexPathForMove (UIKit.UICollectionView collectionView, Foundation.NSIndexPath originalIndexPath, Foundation.NSIndexPath proposedIndexPath);
abstract member GetTargetIndexPathForMove : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath
override this.GetTargetIndexPathForMove : UIKit.UICollectionView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

매개 변수

collectionView
UICollectionView

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

originalIndexPath
NSIndexPath
proposedIndexPath
NSIndexPath

반환

특성

적용 대상