Share 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.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldAllowInteraction(UIKit.UISpringLoadedInteraction interaction, UIKit.IUISpringLoadedInteractionContext context);
[<Foundation.Export("shouldAllowInteraction:withContext:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldAllowInteraction : UIKit.UISpringLoadedInteraction * UIKit.IUISpringLoadedInteractionContext -> bool
override this.ShouldAllowInteraction : UIKit.UISpringLoadedInteraction * UIKit.IUISpringLoadedInteractionContext -> bool

Parameters

interaction
UISpringLoadedInteraction

The interaction to check.

context
IUISpringLoadedInteractionContext

The context to query.

Returns

Attributes

Applies to