SLComposeServiceViewController.ShouldInteractWithTextAttachment 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性