Class

UITextInputPasswordRules

A class that represent password rules for a text input field.

Declaration

class UITextInputPasswordRules : NSObject

Topics

Initializers

init(descriptor: String)

Initializes a password rules object with a descriptor.

Instance Properties

var passwordRulesDescriptor: String

A string representing a set of passworld rules.

Relationships

Inherits From

See Also

Customizing Password Rules

Customizing Password AutoFill Rules

Modify the strong password rules for your app by adding your own restrictions.

var passwordRules: UITextInputPasswordRules?

This property is used to communicate requirements for passwords for your service to ensure iOS can generate compatible passwords for users.