PFSignUpView

@interface PFSignUpView : UIScrollView

The PFSignUpView class provides a standard sign up interface for authenticating a PFUser.

  • Initializes the view with the specified sign up elements.

    See

    PFSignUpFields

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFields:(PFSignUpFields)fields;

    Parameters

    fields

    A bitmask specifying the sign up elements which are enabled in the view

    Return Value

    An initialized PFSignUpView object or nil if the object couldn’t be created.

  • The view controller that will present this view.

    Used to lay out elements correctly when the presenting view controller has translucent elements.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable)
        UIViewController *presentingViewController;
  • The logo. By default, it is the Parse logo.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) UIView *logo;
  • If email should be used to log in, instead of username

    By default, this is set to NO.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL emailAsUsername;
  • The bitmask which specifies the enabled sign up elements in the view

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) PFSignUpFields fields;
  • The username text field.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) PFTextField *usernameField;
  • The password text field.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) PFTextField *passwordField;
  • The email text field. It is nil if the element is not enabled.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) PFTextField *emailField;
  • The additional text field. It is nil if the element is not enabled.

    This field is intended to be customized.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) PFTextField *additionalField;
  • The sign up button. It is nil if the element is not enabled.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) UIButton *signUpButton;
  • The dismiss button. It is nil if the element is not enabled.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) UIButton *dismissButton;