Class

UITextInputPasswordRules

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

Declaration

class UITextInputPasswordRules : NSObject

Topics

Creating Password Rules

init(descriptor: String)

Initializes a password rules object with a descriptor.

Getting the Rules

var passwordRulesDescriptor: String

A string representing a set of passworld rules.

Relationships

Inherits From

See Also

Password Rules

Customizing Password AutoFill Rules

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

var passwordRules: UITextInputPasswordRules?

Requirements for passwords for your service to ensure iOS can generate compatible passwords for users.