UITextViewDelegate_Extensions.ShouldInteractWithUrl UITextViewDelegate_Extensions.ShouldInteractWithUrl Method

Definition

Overloads

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange) ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction) ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange) ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldInteractWithUrl (this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSUrl URL, Foundation.NSRange characterRange);
static member ShouldInteractWithUrl : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSUrl * Foundation.NSRange -> bool

Parameters

This
IUITextViewDelegate IUITextViewDelegate

The instance on which this extension method operates.

URL
NSUrl NSUrl
characterRange
NSRange NSRange

Returns

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction) ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldInteractWithUrl (this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSUrl url, Foundation.NSRange characterRange, UIKit.UITextItemInteraction interaction);
static member ShouldInteractWithUrl : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSUrl * Foundation.NSRange * UIKit.UITextItemInteraction -> bool

Parameters

This
IUITextViewDelegate IUITextViewDelegate

The instance on which this extension method operates.

textView
UITextView UITextView

The text view that has the attachment.

url
NSUrl NSUrl
characterRange
NSRange NSRange

The character range of the URL in the text view.

interaction
UITextItemInteraction UITextItemInteraction

The interaction type to check.

Returns

Applies to