Partilhar via


UITextViewDelegate_Extensions.ShouldInteractWithTextAttachment Método

Definição

Sobrecargas

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)

Os desenvolvedores não devem usar esse método preterido. Os desenvolvedores devem usar a sobrecarga 'ShouldInteractWithTextAttachment' que usa 'UITextItemInteraction'.

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

Se o UITextView especificado deve permitir a interação do usuário com a URL especificada no intervalo de texto especificado.

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)

Os desenvolvedores não devem usar esse método preterido. Os desenvolvedores devem usar a sobrecarga 'ShouldInteractWithTextAttachment' que usa '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

Parâmetros

This
IUITextViewDelegate

A instância na qual esse método de extensão opera.

textView
UITextView
textAttachment
NSTextAttachment
characterRange
NSRange

Retornos

Atributos

Aplica-se a

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

Se o UITextView especificado deve permitir a interação do usuário com a URL especificada no intervalo de texto especificado.

[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

Parâmetros

This
IUITextViewDelegate

A instância na qual esse método de extensão opera.

textView
UITextView

A exibição de texto que tem o anexo.

textAttachment
NSTextAttachment

O anexo.

characterRange
NSRange

O intervalo de caracteres em que o anexo está anexado.

interaction
UITextItemInteraction

O tipo de interação a ser verificado.

Retornos

Atributos

Aplica-se a