-
-
Notifications
You must be signed in to change notification settings - Fork 876
Description
I'm trying to capture users' full names at sign up. I've subclassed PFSignUpViewController and in viewDidLoad() I have the following:
self.fields = [.usernameAndPassword, .dismissButton, .signUpButton, .additional]
However when the SignUpViewController loads, only the username & password fields show up. I am able to make other customizations (button colors, background and logo images, etc.). At runtime, signUpView.additionalField is nil.
I also tried forcing the additional field to be enabled using
signUpView.additionalField.isEnabled = true
but this did not change anything. Interestingly, if I do this:
self.fields = [.dismissButton, .signUpButton, .additional]
The username and password fields still show up and the rawValue of signupView.fields does not change (the rawValue is 27 regardless of what I include in the fields array).
There isn't much documentation around this, so any help that can be provided would be awesome (and should probably be added to the documentation for future use).