次の方法で共有


UITextViewDelegate.ShouldInteractWithTextAttachment メソッド

定義

オーバーロード

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

開発者は、この非推奨のメソッドを使用しないでください。 開発者は、代わりに 'UITextItemInteraction' を受け取る 'ShouldInteractWithTextAttachment' オーバーロードを使用する必要があります。

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

指定した UITextView で、指定されたテキスト範囲の指定されたテキスト添付ファイルとのユーザー操作を許可するかどうか。

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

開発者は、この非推奨のメソッドを使用しないでください。 開発者は、代わりに 'UITextItemInteraction' を受け取る 'ShouldInteractWithTextAttachment' オーバーロードを使用する必要があります。

[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

パラメーター

textView
UITextView
textAttachment
NSTextAttachment
characterRange
NSRange

戻り値

属性

適用対象

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

指定した UITextView で、指定されたテキスト範囲の指定されたテキスト添付ファイルとのユーザー操作を許可するかどうか。

[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

パラメーター

textView
UITextView

添付ファイルを含むテキスト ビュー。

textAttachment
NSTextAttachment

添付ファイル。

characterRange
NSRange

添付ファイルが添付されている文字範囲。

interaction
UITextItemInteraction

確認する対話の種類。

戻り値

属性

適用対象