Condividi tramite


UITextViewDelegate.ShouldInteractWithTextAttachment Metodo

Definizione

Overload

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

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

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

Se l'interfaccia utente specificata deve consentire l'interazione dell'utente con l'allegato di testo specificato in un determinato intervallo di testo.

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

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

[Foundation.Export("textView:shouldInteractWithTextAttachment:inRange:")]
[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 virtual bool ShouldInteractWithTextAttachment (UIKit.UITextView textView, UIKit.NSTextAttachment textAttachment, Foundation.NSRange characterRange);
abstract member ShouldInteractWithTextAttachment : UIKit.UITextView * UIKit.NSTextAttachment * Foundation.NSRange -> bool
override this.ShouldInteractWithTextAttachment : UIKit.UITextView * UIKit.NSTextAttachment * Foundation.NSRange -> bool

Parametri

textView
UITextView
textAttachment
NSTextAttachment
characterRange
NSRange

Restituisce

Attributi

Si applica a

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

Se l'interfaccia utente specificata deve consentire l'interazione dell'utente con l'allegato di testo specificato in un determinato intervallo di testo.

[Foundation.Export("textView:shouldInteractWithTextAttachment:inRange:interaction:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldInteractWithTextAttachment (UIKit.UITextView textView, UIKit.NSTextAttachment textAttachment, Foundation.NSRange characterRange, UIKit.UITextItemInteraction interaction);
abstract member ShouldInteractWithTextAttachment : UIKit.UITextView * UIKit.NSTextAttachment * Foundation.NSRange * UIKit.UITextItemInteraction -> bool
override this.ShouldInteractWithTextAttachment : UIKit.UITextView * UIKit.NSTextAttachment * Foundation.NSRange * UIKit.UITextItemInteraction -> bool

Parametri

textView
UITextView

Visualizzazione di testo con allegato.

textAttachment
NSTextAttachment

Allegato.

characterRange
NSRange

Intervallo di caratteri in cui è collegato l'allegato.

interaction
UITextItemInteraction

Tipo di interazione da controllare.

Restituisce

Attributi

Si applica a