UITextPasteDelegate.ShouldAnimatePaste 方法

定义

返回一个布尔值,该值指示系统是否对粘贴操作进行动画处理。

[Foundation.Export("textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:")]
public virtual bool ShouldAnimatePaste (UIKit.IUITextPasteConfigurationSupporting textPasteConfigurationSupporting, Foundation.NSAttributedString attributedString, UIKit.UITextRange textRange);
abstract member ShouldAnimatePaste : UIKit.IUITextPasteConfigurationSupporting * Foundation.NSAttributedString * UIKit.UITextRange -> bool
override this.ShouldAnimatePaste : UIKit.IUITextPasteConfigurationSupporting * Foundation.NSAttributedString * UIKit.UITextRange -> bool

参数

textPasteConfigurationSupporting
IUITextPasteConfigurationSupporting

接收对象。

attributedString
NSAttributedString

要粘贴的字符串。

textRange
UITextRange

要粘贴或删除字符串的范围。

返回

属性

适用于