共用方式為


UITextDocumentProxy.PasswordRules 屬性

定義

取得或設定在 UITextView 中輸入密碼的密碼規則。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextInputPasswordRules PasswordRules { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("passwordRules", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setPasswordRules:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.PasswordRules : UIKit.UITextInputPasswordRules with get, set

屬性值

在 UITextView 中輸入密碼的密碼規則。

屬性

適用於

另請參閱