A class that represents password rules for a text input field.
SDKs
- iOS 12.0+
- Mac Catalyst 13.0+
- tvOS 12.0+
Framework
- UIKit
Declaration
@interface UITextInputPasswordRules : NSObject
A class that represents password rules for a text input field.
SDKs
Framework
@interface UITextInputPasswordRules : NSObject
+ password Rules With Descriptor:
Initializes a password rules object with a descriptor.
password Rules Descriptor
A string representing a set of passworld rules.
Modify the strong password rules for your app by adding your own restrictions.
password Rules
Requirements for passwords for your service to ensure iOS can generate compatible passwords for users.