Edit

Bagikan melalui


UITableViewDelegate.ShouldSpringLoadRow Method

Definition

Method that is called to indicate whether the identified row should springload in the specified context.

[Foundation.Export("tableView:shouldSpringLoadRowAtIndexPath: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 ShouldSpringLoadRow (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath, UIKit.IUISpringLoadedInteractionContext context);
abstract member ShouldSpringLoadRow : UIKit.UITableView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool
override this.ShouldSpringLoadRow : UIKit.UITableView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool

Parameters

tableView
UITableView

The table view to query.

indexPath
NSIndexPath

The index path to the row to query.

context
IUISpringLoadedInteractionContext

The spring loading context to query.

Returns

Attributes

Applies to