Compartilhar via


SLComposeServiceViewController.ShouldInteractWithTextAttachment Método

Definição

Sobrecargas

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

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

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

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

Parâmetros

textView
UITextView
textAttachment
NSTextAttachment
characterRange
NSRange

Retornos

Atributos

Aplica-se a

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

[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

Parâmetros

textView
UITextView
textAttachment
NSTextAttachment
characterRange
NSRange
interaction
UITextItemInteraction

Retornos

Atributos

Aplica-se a