PFLogInView Class Reference
Inherits from | UIScrollView |
---|---|
Declared in | PFLogInView.h |
Creating Log In View
– initWithFields:
Initializes the view with the specified log in elements.
- (instancetype)initWithFields:(PFLogInFields)fields
Parameters
fields |
A bitmask specifying the log in elements which are enabled in the view |
---|
Return Value
An initialized PFLogInView
object or nil
if the object couldn’t be created.
See Also
Declared In
PFLogInView.h
presentingViewController
The view controller that will present this view.
@property (nullable, nonatomic, weak) UIViewController *presentingViewController
Discussion
Used to lay out elements correctly when the presenting view controller has translucent elements.
Declared In
PFLogInView.h
Customizing the Logo
logo
The logo. By default, it is the Parse logo.
@property (nullable, nonatomic, strong) UIView *logo
Discussion
The logo. By default, it is the Parse logo.
Declared In
PFLogInView.h
Configure Username Behaviour
emailAsUsername
If email should be used to log in, instead of username
@property (nonatomic, assign) BOOL emailAsUsername
Discussion
By default, this is set to NO
.
Declared In
PFLogInView.h
Log In Elements
fields
The bitmask which specifies the enabled log in elements in the view.
@property (nonatomic, assign, readonly) PFLogInFields fields
Declared In
PFLogInView.h
usernameField
The username text field. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) PFTextField *usernameField
Declared In
PFLogInView.h
passwordField
The password text field. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) PFTextField *passwordField
Declared In
PFLogInView.h
passwordForgottenButton
The password forgotten button. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) UIButton *passwordForgottenButton
Declared In
PFLogInView.h
logInButton
The log in button. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) UIButton *logInButton
Declared In
PFLogInView.h
facebookButton
The Facebook button. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) UIButton *facebookButton
Declared In
PFLogInView.h
twitterButton
The Twitter button. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) UIButton *twitterButton
Declared In
PFLogInView.h
signUpButton
The sign up button. It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) UIButton *signUpButton
Declared In
PFLogInView.h
dismissButton
It is nil
if the element is not enabled.
@property (nullable, nonatomic, strong, readonly) UIButton *dismissButton
Declared In
PFLogInView.h
externalLogInLabel
The facebook/twitter login label. (Deprecated: This property is deprecated and will always be nil.)
@property (nullable, nonatomic, strong, readonly) UILabel *externalLogInLabel
Declared In
PFLogInView.h
signUpLabel
The sign up label. (Deprecated: This property is deprecated and will always be nil.)
@property (nullable, nonatomic, strong, readonly) UILabel *signUpLabel
Declared In
PFLogInView.h