Condividi tramite


UITextViewDelegate_Extensions.ShouldInteractWithTextAttachment Metodo

Definizione

Overload

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)

Gli sviluppatori non devono usare questo metodo deprecato. Gli sviluppatori devono usare invece l'overload 'ShouldInteractWithTextAttachment' che accetta 'UITextItemInteraction'.

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

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

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)

Gli sviluppatori non devono usare questo metodo deprecato. Gli sviluppatori devono usare invece l'overload 'ShouldInteractWithTextAttachment' che accetta 'UITextItemInteraction'.

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

Parametri

This
IUITextViewDelegate

Istanza in cui opera questo metodo di estensione.

textView
UITextView
textAttachment
NSTextAttachment
characterRange
NSRange

Restituisce

Attributi

Si applica a

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, 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 ShouldInteractWithTextAttachment (this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, UIKit.NSTextAttachment textAttachment, Foundation.NSRange characterRange, UIKit.UITextItemInteraction interaction);
static member ShouldInteractWithTextAttachment : UIKit.IUITextViewDelegate * UIKit.UITextView * UIKit.NSTextAttachment * Foundation.NSRange * UIKit.UITextItemInteraction -> bool

Parametri

This
IUITextViewDelegate

Istanza in cui opera questo metodo di estensione.

textView
UITextView

Visualizzazione di testo con l'allegato.

textAttachment
NSTextAttachment

Allegato.

characterRange
NSRange

Intervallo di caratteri in cui è associato l'allegato.

interaction
UITextItemInteraction

Tipo di interazione da controllare.

Restituisce

Attributi

Si applica a