UITextView.SmartQuotesType 属性

定义

获取或设置当前 UITextSmartQuotesType,它控制如何处理撇号。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextSmartQuotesType SmartQuotesType { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("smartQuotesType", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setSmartQuotesType:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.SmartQuotesType : UIKit.UITextSmartQuotesType with get, set

属性值

默认值可能会将撇号更改为特定于区域的引号,具体取决于键盘类型。

属性

适用于