Freigeben über


UICollectionViewDelegate.ShouldSpringLoadItem Methode

Definition

Methode, die aufgerufen wird, um anzugeben, ob das identifizierte Element im angegebenen Kontext springloaden soll.

[Foundation.Export("collectionView:shouldSpringLoadItemAtIndexPath:withContext:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldSpringLoadItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath, UIKit.IUISpringLoadedInteractionContext context);
abstract member ShouldSpringLoadItem : UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool
override this.ShouldSpringLoadItem : UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool

Parameter

collectionView
UICollectionView

Die Auflistungsansicht, die die Anforderung ausgelöst hat.

indexPath
NSIndexPath

Der Indexpfad zum Element.

context
IUISpringLoadedInteractionContext

Der springgeladene Interaktionskontext.

Gibt zurück

Attribute

Gilt für: