Editar

Compartilhar via


IUISpringLoadedInteractionBehavior.ShouldAllowInteraction Method

Definition

Returns a Boolean value that tells whether spring-loading should start or continue for the specified context.

[Foundation.Export("shouldAllowInteraction:withContext:")]
[Foundation.Preserve(Conditional=true)]
public bool ShouldAllowInteraction (UIKit.UISpringLoadedInteraction interaction, UIKit.IUISpringLoadedInteractionContext context);
abstract member ShouldAllowInteraction : UIKit.UISpringLoadedInteraction * UIKit.IUISpringLoadedInteractionContext -> bool

Parameters

interaction
UISpringLoadedInteraction

The interaction to check.

context
IUISpringLoadedInteractionContext

The context to query.

Returns

Attributes

Applies to