Condividi tramite


UITextViewDelegate_Extensions.ShouldInteractWithUrl Metodo

Definizione

Overload

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

Indica se uiTextView specificato deve consentire l'interazione dell'utente con l'URL specificato nell'intervallo di testo specificato.

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

Indica se uiTextView specificato deve consentire l'interazione dell'utente con l'URL specificato nell'intervallo di testo specificato.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

Indica se uiTextView specificato deve consentire l'interazione dell'utente con l'URL specificato nell'intervallo di testo specificato.

[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

Parametri

This
IUITextViewDelegate

Istanza in cui opera questo metodo di estensione.

textView
UITextView
URL
NSUrl
characterRange
NSRange

Restituisce

Attributi

Si applica a

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

Indica se uiTextView specificato deve consentire l'interazione dell'utente con l'URL specificato nell'intervallo di testo specificato.

[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

Parametri

This
IUITextViewDelegate

Istanza in cui opera questo metodo di estensione.

textView
UITextView

Visualizzazione di testo con l'allegato.

url
NSUrl
characterRange
NSRange

Intervallo di caratteri dell'URL nella visualizzazione testo.

interaction
UITextItemInteraction

Tipo di interazione da controllare.

Restituisce

Attributi

Si applica a