다음을 통해 공유


SLComposeServiceViewController.ShouldInteractWithTextAttachment 메서드

정의

오버로드

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange)

개발자는 이 사용되지 않는 메서드를 사용하면 안 됩니다. 개발자는 대신 'UITextItemInteraction'을 사용하는 'ShouldInteractWithTextAttachment' 오버로드를 사용해야 합니다.

ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

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)

[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

반환

특성

적용 대상